aspose file tools
The moose likes Java in General and the fly likes abstract rules Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: abstract rules
 
Similar Threads
Regarding abstract class
do they exist abstract interfaces?
Interfaces in java
Questions on for Kathy Sierr or Bert Bates
Abstract cannot be protected