File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Can you have static metthods in Interfaces?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can you have static metthods in Interfaces??" Watch "Can you have static metthods in Interfaces??" New topic
Author

Can you have static metthods in Interfaces??

tyrone cabero
Greenhorn

Joined: Oct 04, 2003
Posts: 4
plese tell me
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Have you tried?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

No, you can't. This has been discussed many times before both here and elsewhere. here is a good explanation.


[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: Can you have static metthods in Interfaces??