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 do you mean by data type?
In Java why we write public static void main(String args[]) why not main()?
46 Answers Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,
What is the alternate of 'Inheritance' ?
What is the use of StringTokenizer class?
What is jee6?
What's the purpose of static methods and static variables?
Can keyword be used as identifier?
Is java written in c?
Write a program to print the pattern given below
What does sprintf mean?
What is functional interface in java?
What causes memory leaks in java?