Showing posts with label Static inner class in java. Show all posts
Showing posts with label Static inner class in java. Show all posts

Static inner class in java

Ashok Veer | May 21, 2020 | Be the first to comment!


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

read more...
 
Copyright © 2019 techfloaters • All Rights Reserved.
Template Design by Ashok Veer ( veersoft solution)