. Differentiate between instance and local variables.
Answer / 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 |
List the three steps for creating an object for a class?
What is the common usage of serialization?
What is the difference between Integer and int?
why using interface interface ?
Difference between collection, collection and collections in java?
Can we extend singleton class in java?
What is communist flag?
What does java ide mean?
How can you make a class serializable in java?
What is arraylist class in java?
different types of threads?
What is a void method?