What do you mean by global variable?
Answer / Alok Kumar Agmani
In Core Java, a global variable is a variable that is defined outside of any function or method. This means it can be accessed and modified from anywhere within the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is arraylist a class in java?
What is the difference between double and float variables in java?
Which variables are stored in stack?
Explain the importance of finally block in java?
Can a final method be overloaded?
Explain try and catch keywords in java?
How do you check if a number is a perfect square?
How many types of constructors are used in java?
Where pragma is used?
how can be object class inherited to all class in a program when java does not support multiple inheritance??
Explain about static nested classes in java?
What is string pooling concept?