Card 36 / 76: What statement about local variables is true?
A)
Local variables are declared outside of methods and are initialized with a default value.
B)
Local variables are declared inside of methods and are initialized with a default value.
C)
Local variables are declared outside of methods and are not initialized with a default value.
D)
Local variables are declared inside of methods and are not initialized with a default value
Answer:
D) Local variables are declared inside of methods and are not initialized with a default value
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
A, B, and C are incorrect because they do not represent true statements about the properties of local variables.
|