What happens when a class is made static like if a field or
member is made static it becomes class variable and is
shared by all the object of the class?
Answer / arvind verma
If a class is made static then we can access it's methods &
variables by using class name , no need to create class
object
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the names of interfaces that doesn't consists of method/s ?
How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?
What is the difference between declaration and definition in java?
What is the collections api?
Why we used vector class?
What is difference between == and === in js?
when,where and how to use abstract class and interface
how to create multithreaded program? : Java thread
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What is Applet Flickering ?
1 Answers Infosys, Persistent,
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is regex used for?