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 class inide an interface 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 "class inide an interface" Watch "class inide an interface" New topic

class inide an interface

Mohit Agarwal
Ranch Hand

Joined: Mar 30, 2004
Posts: 88
Can any body throw light on a class inide an interface?

Mohit Agarwal
Would Be SCJP.

"The will to win is worthless if you do not have the will to prepare"
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Well, what do you want to know about it? You can declare a class inside an interface just like you can declare a class within another class. The only kicker is that a class defined within an interface is implicitly static.

SCJP Tipline, etc.
I agree. Here's the link:
subject: class inide an interface
It's not a secret anymore!