Multiple choice technology programming languages

java doesnt supports global variables

  1. True

  2. False

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

Java only supports variables defined within a class or method scope. Variables defined at the class level with static act similarly to global variables but are still scoped within their class, meaning Java does not have true global variables.