Java variables

Use of variables
Store the value
Delete the value
Add the value
Substrate the value
Variable Value can me change depend on condition.
True
False
Variable is a name of memory location
True
False
Local variable declared in ________
Outside the method
Inside the method
Outside the class
Outside the child class
Access modifiers can be used for local variables
True
False
A local variable cannot be defined with "static" keyword
True
False
Instance variable declared ______
Outside the class but inside the body of the method
Inside the method but outside the body of the class
Inside the class but outside the body of the method
Inside the child class but outside the body of the class
A Instance variable can be defined with "static" keyword
True
False
Static variable cannot be use for a entire program
True
False
Memory will be allocated to the static variable at the time of class loading
True
False
{"name":"Java variables", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Use of variables, Variable Value can me change depend on condition., Variable is a name of memory location","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.