Solved

When Are Local Variables Initialized

Question 8

Multiple Choice

When are local variables initialized?


A) Local variables are initialized with a default value before a constructor is invoked.
B) Local variables are initialized when the method is called.
C) You must initialize local variables in a method body.
D) You must initialize local variables in the constructor.

Correct Answer:

verifed

Verified

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

Related Questions