Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "class inide an interface" Watch "class inide an interface" New topic
Author

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.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: class inide an interface