This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Putting code in 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 "Putting code in an interface !!!!!!!!!!!!" Watch "Putting code in an interface !!!!!!!!!!!!" New topic

Putting code in an interface !!!!!!!!!!!!

Murgan Sub

Joined: Feb 06, 2002
Posts: 22
Kindly see this code below

Which allows you to put code in the interface ...
What is the advantage of having a static Inner
class in an interface ?
Please use code tags when ever posting source code. Thanks.
- satya
[ February 12, 2002: Message edited by: Madhav Lakkapragada ]
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
I guess that the code is available for those classses implementing the interfaces. Try it

SCJP2. Please Indent your code using UBB Code
I agree. Here's the link:
subject: Putting code in an interface !!!!!!!!!!!!