Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What are instance variables?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What are instance variables?
1 Answer(s)      a year and 7 months ago
Posted in : Java Beginners


Hi,

What are instance variables?

thanks


Advertisement
View Answers

April 10, 2013 at 5:54 PM


Hi,

Each object of the class has its own set of values for these non-static variables so we can say that these are related to objects (instances of the class).Hence these variables are also known as instance variables. These variables take default values if not initialized.

Thanks,



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com