Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
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-2013