File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Aug 02, 2010
Jan 27, 2011 02:23:07
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:
subject: abstract rules
Regarding abstract class
Interfaces in java
do they exist abstract interfaces?
Questions on for Kathy Sierr or Bert Bates
Abstract cannot be protected
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014