NESTED CLASS
   Nested class are those class which define inside the scope of another class like
 class Outer
{
   //data member if any
 // method if any
   class Inner
 {
  // data member if any
  // method if   any
 }
}
2 tyep of nested classes
 i) static nested class

 ii) non-static nested class


Comments

Popular posts from this blog