What is a static variable?

Short Answer
Views 653

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.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.