File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Inner Classes
It's not a secret anymore!