Difference between static methods, static variables, and static classes in Java.
Answer / nashiinformaticssolutions
A variable, method, or class can be made static by using the static keyword. A static class cannot be instantiated. When both objects or instances of a class share the same variables, this is referred to as static variables. Static methods are simply methods that refer to the class in which they are written.
Is This Answer Correct ? | 0 Yes | 0 No |
What is skeleton and stub?
How to transfer data from an Applet to Servlet ?
How can you traverse a linked list in java?
wht is customised exception?
1 Answers Logica CMG, Novell, Prudential,
What is yield () in java?
What is parsing in java?
What is the purpose of sizeof operator?
java Technical questions asked by JPMC
Enlist few advantages of inheritance?
what is object slice?
What is a method in java?
What is method reference in java?