wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "abstract rules" Watch "abstract rules" New topic

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
Similar Threads
Regarding abstract class
Questions on for Kathy Sierr or Bert Bates
do they exist abstract interfaces?
Abstract cannot be protected
Interfaces in java