• Post Reply Bookmark Topic Watch Topic
  • New Topic

Inner Classes  RSS feed

 
Sreelatha Kattamuri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a Inner class hava a Inner class?
 
natarajan meghanathan
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sreelatha,
Yes. You can have innerclasses of any depth.
class A{
class B{
class C{
}
}
}

------------------

***********************************************
Sun Certified Programmer for Java 2 Platform
***********************************************
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!