wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Classes" Watch "Inner Classes" New topic

Inner Classes

Sreelatha Kattamuri

Joined: Feb 11, 2001
Posts: 1
Can a Inner class hava a Inner class?
natarajan meghanathan
Ranch Hand

Joined: Feb 01, 2001
Posts: 130
Hi Sreelatha,
Yes. You can have innerclasses of any depth.
class A{
class B{
class C{


Sun Certified Programmer for Java 2 Platform

Sun Certified Programmer for Java 2 Platform
It is sorta covered in the JavaRanch Style Guide.
subject: Inner Classes
Similar Threads
Passing an object to a method.
Advantages of inner classes
Inner Classes
Question in K&B Book - protected class