Computer Science, asked by ravindrasiddavatam, 1 year ago

What is the use of static keyword in Java?

Answers

Answered by Ssatyam9935
1
The static keyword is used in java mainly for memory management. It is used with variables, methods, blocks and nested class. It is a keyword that are used for share the same variable or method of a given class. This is used for a constant variable or a method that is the same for every instance of a class.
Similar questions