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 Posted / 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 |
Post New Answer View All Answers
what is comparable and comparator interface?
What is the difference between a loader and a compiler?
What is the default size of load factor in hashing based collection?
What is a numeric string?
How do you add an arraylist to an array in java?
What does flagged out mean?
what is object-oriented programming in java?
What is meant by final class?
What is the use of string and stringbuffer?
how we can make a write-only class in java?
what is deadlock? : Java thread
Does constructor be static?
Is vector thread safe in java?
Can a string be null?
Explain the concept of proper inheritance?