WHAT IS NESTED CLASS?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java  Nested  Class 
 608  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is nested class?

    A class which is declared inside another class is known as nested class.

     There are 4 types of nested class member:
    1)inner class
    2) local inner class
    3)anonymous inner class and 
    4)static nested class.

      Modified On Apr-27-2015 12:45:09 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!