Difference between Nested static and Inner class Java

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Java programming language allows you to add a class inside another class, that is known as nested class in Java. There are four types of nested class,

Statistics

  • Total Hits - 27484

  • Total Votes - 206 votes

  • Vote Up - 111 votes

  • Vote Down - 95 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

  • Submitted on - 2013-12-22 01:08:19

Description

Java programming language allows you to add a class inside another class, that is known as nested class in Java. There are four types of nested class, depending upon whether its static or not. In this article we will see difference between nested static and Inner class in Java. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements