Prev Next

Java / Class Variables (Static Variables)

Explain static keyword in Java.

The static keyword can be applied to,

  • static variables,
  • static methods,
  • static block,
  • static inner class,
  • and interface static method (introduced in Java 8).

More Related questions...

Show more question and Answers...


Comments & Discussions