Solved

If a Local Variable in a Called Method Shares Its

Question 2

Multiple Choice

If a local variable in a called method shares its name with a variable with class scope, then_____ .


A) a syntax error occurs
B) the local variable is assigned the value of the class scope variable
C) the class scope variable is hidden until the called method terminates execution
D) the local variable is hidden until the called method terminates execution
E) None of the above.

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents