. Differentiate between instance and local variables.
Answer Posted / nashiinformaticssolutions
For instance, variables are declared inside a class, and the limited to only a specific object.
A local variable can be anywhere inside a method or a specific block of code. Also, the scope is limited to the code segment where the variable is declared.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it safe to install java on my computer?
What is an example of a keyword?
What are the two environment variables that must be set in order to run any java programs?
What is pre increment and post increment in java?
Is java call by reference?
What is a lightweight component?
What is the maximum size of arraylist in java?
What are voids?
How to display names of all components in a Container?
how to create multithreaded program? Explain different ways of using thread? : Java thread
Why is stringbuffer faster than string?
Which java version is latest?
Write code of any action class?
Is Java a dying language?
What does a method signature consist of?