. 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
What is a boolean expression in java?
What is the purpose of static keyword in java?
What is number data type in java?
What is the static method?
Is java a software?
What is a priority queue java?
What are the supported platforms by java programming language?
Program to Find the second largest element in an array.
Is null == null in java?
What is qms certification?
How can a gui component handle its own events?
what is meant by encapsulation?
Does java list allow null?
What are the high-level thread states in java programming?
Which data type is class in java?