File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Could you explain this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Could you explain this?

Robby Ames
Ranch Hand

Joined: Dec 11, 2012
Posts: 45

The above code gives error!!
BUT

The code below runs smoothly!!

WHY??
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2173
    
  47
Mathew Brown already answered your question in the original thread http://www.coderanch.com/t/600404/java/java/Java-Interface#2739537
 
Consider Paul's rocket mass heater.
 
subject: Could you explain this?
 
Similar Threads
Can we define a inner class in an interface?
Interface
interfaces used to work on my system but now they dont :)
Regarding Interface Concept
How is this possible? (Java, Interface)