Question: Question 1 2 2 p t s Which is true regarding how methods work? A return address indicates the value returned by the method After
Question
Which is true regarding how methods work?
A return address indicates the value returned by the method
After a method returns, its local variables keep their values, which serve as their initial values the next time the method is called
A method's local variables are discarded upon a method's return; each new call creates new local variables in memory
If a method returns a variable, the method stores the variable's value until the method is called again
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
