Prev Next

Java / static keyword

What is static keyword in Java?

static is a keyword in Java that can be applied to a member variable (class variable), Java method, nested class, and block.

static keyword cannot be applied on top-level class while will result in compile time error.

More Related questions...

Show more question and Answers...


Comments & Discussions