Title: Exceptions in Java | Java Tutorials | CodeMistic
Description: A static class i.e. created inside a class is called static nested class in java. It cannot access non-static data members and methods. It can be accessed by outer class name. 1.It can access static data members of outer class including private. 2.Static nested class cannot access non-static (instance) data member or method.We use the keyword static to make our nested class static.In Java, only Nested classess are allowed to be static..
Keywords:
Domain: codemistic.github.io
Links:
Viewport: width=device-width, initial-scale=1.0