In
java a static class which is defined inside another outer class is called
static nested class or static inner class. A static inner class is nested class which can be accessed without
creating the object of the outer class. We can access like static
other static members of class.
A
static inner class have does not access to the outer class instance variable
and methods. Below is syntax of the static nested class. read more
0 comments:
Post a Comment