File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Difference Between Interface and AbstractInteface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference Between Interface and AbstractInteface" Watch "Difference Between Interface and AbstractInteface" New topic

Difference Between Interface and AbstractInteface


Joined: Feb 07, 2002
Posts: 1
I would like know the difference between the inteface and abstractinteface. The AbsractInterface follws the same set of rules which the inteface follows and ofcourse as far as my knoeledge goes there is not difference betn the two terms. then what can be the reason behing using the abstract keyowrd preceeds the interface keyword. Can anyone clear my doubt. pls

Gayathri Swami Mahadevan
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
AbstractInterface??? I have not heard of it. I know all methods in an nterface are abstract by default. Using the abstract keyword in their declaration should not create any problems though.

So much trouble in the world -- Bob Marley
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please re-register under an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!

Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

JLS abstract Interfaces
Every interface is implicitly abstract. This modifier is obsolete and should not be used in new programs

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link:
subject: Difference Between Interface and AbstractInteface
It's not a secret anymore!