Java Variable
Q1.
Which of the following is a correct way to declare a variable in Java?
Q2.
What is the default value of an instance variable of type boolean in Java?
Q3.
Which of the following variables can be shared among all objects of a class?
Q4.
Where is a local variable stored in memory?
Q5.
Which statement about variable scope in Java is TRUE?