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 meant by main method?
How is tree Mirroring implemented?
Will set allow duplicates in java?
What is meant by 'bit masking' in java?
What is difference between next () and nextline () in java?
Explain constructors and types of constructors in java.
Can static method access instance variables ?
Explain how can you debug the Java code?
What is collection class in java? List down its methods and interfaces.
What is number data type?
Is c better than java?
Can we call virtual funciton in a constructor ?
What is java thread dump, how can we get java thread dump of a program?
What is a short in java?
Is assembly language a low level language?