what about static?



what about static?..

Answer / satyanarayana m

Static is a keyword in java,
static means only one copy exists for entire class
irrespective of the number of objects that exists for that
class.
The static variables are initialized when the class is
loaded and the non-static variables are initialized just
before the constructor is called.

Is This Answer Correct ?    16 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Hi I have joined java course. I also want additional help from any tutorials website. Please suggest me tutorials which provides easy to understand online applet tutorials?

0 Answers  


What is the difference between a stub and a skeleton?

9 Answers   ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,


What is TL and its use?

0 Answers  


Why is main purpose of XML?

5 Answers  


whats is mean by object and class?

1 Answers   Saka Solutions,






Can you write Java code for declaration of multiple inheritance in Java ?

6 Answers   Kingshir, Oracle,


Is there a guarantee of uniqueness for entity beans?

0 Answers  


can a static method be overridden

12 Answers   SolutionNET,


What is the difference between static and non-static with examples?

0 Answers   HCL,


What is servlet preinitialization

1 Answers   iFlex,


what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


What is Lock Based Protocol and what is its use?

2 Answers   Wipro,


Categories