Multiple choice technology programming languages

In java local variables are automatically instantiated(T/F)

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Java, local variables are not automatically initialized or instantiated with a default value. Programmers must assign a value to a local variable before it is used, otherwise the compiler will throw an error.