Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  

What is the importance of static variable?



Share on Google+Share on Google+

Java Coder
What is the importance of static variable?
1 Answer(s)      4 years and 4 months ago
Posted in : Java Beginners


What is the importance of static variable?


View Answers

April 12, 2013 at 10:38 AM


The Static variable which belongs to the class and not to object(instance). Only once initialized the Static variables for at the starting of an execution. These variables will be initialized first, before the initialization of any instance variables. We can access directly the static variable by it's class name and no requirement of any object.

For more related articles then visit this link