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 |
Differentiate between array list and vector in java.
strings in java are objects.why?
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
Can we have two main methods in a java class?
Why are lists ordered in java?
Can you access the private method from outside the class?
Is void a wrapper class?
How do you use parseint in java?
How do you add an element to an arraylist in java?
Who is founder of java?
What is the purpose of an interface?
Why put method is used?