jQuery in Action, 2nd edition*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Putting code in an interface !!!!!!!!!!!!" Watch "Putting code in an interface !!!!!!!!!!!!" New topic
Author

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

Murgan Sub
Greenhorn

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 ?
PS:
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: http://aspose.com/file-tools
 
subject: Putting code in an interface !!!!!!!!!!!!
 
Similar Threads
Inner classes & Interface - Guoqiao's 3rd Mock
Interface doubt
Static Interface within an Inteface
Everybody should contribute -scjp beyond book
A member interface is implicitly static