Ask Question

Local variables:A. Lose the values stored in them between calls to the method in which the variable is declared

B. May have the same name as local variables in other methods

C. Are hidden from other methods

D. All of the above

+2
Answers (1)
  1. 11 June, 20:25
    0
    All of the above

    Explanation:

    A local variable is a variable which is declared within a method or is an argument passed to a method, it scope is usually local (i. e. it is hidden from other method). it can also have the same name as a local variable in another method and it loses the values stored in them between calls to the method in which the variable is declared. So all the option listed above are correct.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Local variables:A. Lose the values stored in them between calls to the method in which the variable is declared B. May have the same name ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers