Answer Posted / ravikiran(aptech mumbai)
global variables are declared globally and not inside any
method.
They are applicable to all the parts of the class
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Can static method access instance variables ?
How will you add panel to a frame?
How to print nodes of a Binary tree?
What type of language is java?
If goto and const is reserve words than why it is not work in java?
What are strings in physics?
What happens if constructor is private?
What is a ternary operator in java? What is an interface?
Is array primitive data type in java?
How can we find the actual size of an object on the heap?
Is 0 true or false in java?
Explain the difference between a Thread and a Process.
What is nextline method in java?
What is considered an anti pattern?
What will happen if a thrown exception is not handled?