Solved

If a Local Variable in a Method Has the Same

Question 89

Multiple Choice

If a local variable in a method has the same name as a field of the method's class,what will occur


A) an error is generated
B) the field is "hidden" until the method is finished executing
C) the field will override the variable from the method
D) None of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions