WHAT IS NESTED CLASS?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java  Nested  Class 
 716  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 Mar-28-2018 12:49:58 AM

Answer

NEWSLETTER

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