What is the 'static' keyword? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the 'static' keyword?

3rd Mar 2017, 10:01 AM
Alok Agarwal
Alok Agarwal - avatar
2 Answers
+ 2
Java course on this app coveres this topic.
3rd Mar 2017, 10:37 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
The static keyword refers to the ONE AND ONLY instance of the object and it cant be duplicated. It only exists once throughout the object, class, or method.
3rd Mar 2017, 3:08 PM
Jacob C.
Jacob C. - avatar