Sunday 21 June 2015

Java Inner Class



Java Inner class
  • Inner Classes
  • Member Classes
  • Local Classes
  • Anonymous Classes
  • Instance Initializers
  • Static Nested Classes


  • Java inner class or nested class is a class i.e. declared inside the class or interface.
  • We use inner classes to logically group classes and interfaces in one place so that it can be more readable and maintainable.
  • Additionally, it can access all the members of outer class including private data members and methods



2 comments:

  1. It is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in java programming your post help me a lot.Thanks for your informative article.java training in chennai | java training institutes in chennai | java j2ee training training in chennai

    ReplyDelete