What is private static in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is private static in java?

8th Dec 2022, 4:21 PM
Ayato Sakamaki
Ayato Sakamaki - avatar
1 Answer
+ 4
private : access specifier for class properties. And properties accessible only within class in which declared. static : access modifier used for a class properties. So then property available as class member rather than object property. For more, about, read the lessons and example there... edit: from search : similars https://www.sololearn.com/discuss/2815297/?ref=app https://www.sololearn.com/discuss/438269/?ref=app
8th Dec 2022, 6:40 PM
Jayakrishna 🇮🇳