Answer Posted / 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 View All Answers
Is the infobus client side only?
Why are component architectures useful?
What is the difference between ear, jar and war file?
What is the difference between system.out ,system.err and system.in?
What are the design considerations while making a choice between using interface and abstract class?
How can I avoid validating a form before data is entered?
Is a class a subclass of itself?
What is the difference between static and non-static with examples?
which type of objects reference will be given to client?
Is jvm a overhead?
What is threadfactory?
Define prototype?
What is ioc concept?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Can you give me a simple example of using the requiredif validator rule?