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

How substring() method of string class create memory leaks?

0 Answers  


whats is mean by connectionpooling

2 Answers   SolutionNET,


What is abstract schema?

0 Answers  


Why use a datasource when you can directly specify a connection details?

0 Answers  


What are externizable interface?

0 Answers  






If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

0 Answers  


Is System.err.println(""Statement"); is execute the output on console . Example: System.err.println("Hello JAVA");

8 Answers  


Explain the life cycle of servlet?

3 Answers   Cognizant, HCL,


what is Activation Instantinator?

0 Answers  


What is synchronization?

6 Answers   Verizon,


explain session tracking. why we used it

3 Answers   Lionbridge,


how we can implement interface in jsp ?

2 Answers   Google,


Categories