Question: What happens if the variable names in the parameter lists have the same names as in the main or calling method? For example: If primitives
What happens if the variable names in the parameter lists have the same names as in the main or calling method? For example: If primitives are passed through a parameter list and the name of the parameter list in the method is the same, does this mean that the values in main change because the names of the variables in the methods have the same names?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
