in Core Java

Static Nested Classes in Java

Static Nested Classes

Static Inner classes are those normal inner classes with static modifier. The main usage of static nested class is to access the static members and also directly able to access the members of inner class using the class names instead of creating instances.

Static Nested classes code example:

 

Srinivas Reddy

Srinivas Reddy

An IT - Specialist with loads of experience in Java, J2ee platforms and loves to share his experience on technology with You...

More Posts - Website

Follow Me:
TwitterFacebook

Related Posts

Srinivas Reddy
Written By:

An IT - Specialist with loads of experience in Java, J2ee platforms and loves to share his experience on technology with You...