Ask Question
14 May, 22:16

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

+1
Answers (1)
  1. 14 May, 22:47
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers