What are instance variables?



What are instance variables?..

Answer / Om Prakash

"Instance variables in Java are variables that belong to an object (instance) of a class. They are created when an object is created and they hold the state of an object."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What exactly is java?

1 Answers  


what is polymorphism?

4 Answers  


Can we rethrow the same exception from catch handler?

1 Answers  


what is the difference between AWT and SWING what is the advantage of using swing?

3 Answers  


How can we make sure main() is the last thread to finish in java program?

1 Answers  


What is the use of arraylist class in java?

1 Answers  


What is difference between this and super keyword?

1 Answers  


Explain notifyall() method of object class ?

1 Answers  


what is jdk1.5 features?

6 Answers   AMS, Virtusa,


where singleton classes are used in j2ee web application.can we use it for connection pooling.

1 Answers  


What is local variable and instance variable?

1 Answers  


What is a lambda expression ? What's its use ?

1 Answers  


Categories