What is the purpose of static keyword in java?
Answer / Amit Trivedi
The static keyword in Java is used to create class-level variables, methods, and blocks. These elements are shared among all instances of a class, rather than being specific to each instance.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is constructor
9 Answers Manforce, Tech Mahindra,
Can you change array size in java?
What is string builder in java?
Difference between local and global transaction ?
What is the difference between the size and capacity of a vector?
Can we declare a constructor as final?
How do you call a reference in java?
Difference between current previous versions of Java?
What is multiple inheritance? Is it supported by java?
What is an interface in java?
How do you format in java?
what is the purpose of using rmisecuritymanager in rmi?