In Java, what’s the purpose of static methods and static variables?
Answer Posted / nashiinformaticssolutions
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 is data type example?
What are the different http methods?
Which types of exceptions are caught at compile time?
What is import java util arraylist?
Explain oops concepts in detail?
Can private class be extended java?
How do you sort an array in java?
What is object english?
What is the difference between array list and vector in java?
How can you say java is object oriented?
How is a variable stored in memory?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is arrays fill in java?
How do you escape a string?
How an object is serialized in java?