what static keyword do in java and how to use it
you can not define static classes as general but subclasses can be static as a class member.
you can access static methods without any object and only with class reference.
static methods can not be overriden.
you can access static variables without any object creation and only with class reference. static variables allocate static memory.