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
How is Object Oriented Programming different from Procedure Oriented Programming?
What does 3 dots mean in java?
How do you do descending order in java?
What is string pool?
What is difference between == equals () and compareto () method?
What are the two types of streams offered by java 8?
Have you ever used hashtable and dictionary?
Can java list be null?
Explain thread life cycle in java?
What are different exception types exceptions available in java ?
Compare Mutex and Semaphore in java.
What does a method signature consist of?
Can we able to pass objects as an arguments in java?
Why we use methods in java?
What about member inner classes?