What is a static variable?

Java Programming Language >   Variables in java >   Application of OOP  

Short Question

797


Answer:

Class variables also known as static variables are declared with the static keyword in a class, but outside a method, constructor or a block.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.