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 abstract rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "abstract rules" Watch "abstract rules" New topic
Author

abstract rules

saravanan ragunathan
Ranch Hand

Joined: Aug 02, 2010
Posts: 84
we cannot declare abstract methods in interface as protected and default(even if we don't mention
any access specifier (default) compiler takes it as public)

but we can declare abstract method in abstract class as protected and default...

why there are different rules for abstract class and interface?



"I Love Java Ranch"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstract rules