In Java, what’s the purpose of static methods and static variables?
Answer Posted / glibwaresoftsolutions
When a method or variable needs to be shared across several objects of a class, developers utilize a static keyword to make it shared for all objects. Instead of making
unique copies for every object, this is employed.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does a za z0 9 mean?
What is exception in java?
What is the public method modifier?
What are different types of states exist for a thread?
What is hashtable and explain features of hashtable?
What are the important features of Java 8 release?
Write a method that will remove given character from the string?
Explain about class in java?
Explain different types of wrapper classes in java?
What is the relationship difference the canvas class and the graphics class?
What are alternatives to java serialization?
What is the function of character?
Can you make a constructor final?
What are runtime exceptions?
What are the features of junit?