April 17, 2018
In the previous post, we discussed on inner class for “one and only for” relationship among the classes. But static nested class not for same purpose, it is to add namespace to the class. It can be instantiated just with top class name (without top class instance). Static nested class is class scoped within another.