A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Programmer Certification (SCJP/OCPJP)
class inide an interface
Joined: Mar 30, 2004
Sep 30, 2004 07:42:00
Can any body throw light on a class inide an interface?
"The will to win is worthless if you do not have the will to prepare"
Joined: Dec 20, 2001
Sep 30, 2004 08:44:00
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
does an abstract method require an abstract class?
Class or interface
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014