Which of the following statements is false?
a) Variables declared in a particular method’s body (such as Main) are local variables,
which can be used only in that method.
b) Each method can access its own local variables and those of other methods.
c) When a method terminates, the values of its local variables are lost.
d) A method’s parameters also are local variables of the method.
b) Each method can access its own local variables and those of other methods.
Computer Science & Information Technology
You might also like to view...
Which PC design would most likely contain an AV hard drive?
A) HTPC B) Thin client C) Thick client D) CAD/CAM E) Gaming
Computer Science & Information Technology
Catch blocks serve as
a. exception handlers b. receivers c. temporary variables d. permanent storage for trapped errors e. None of these
Computer Science & Information Technology