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 Difference Between Interface and AbstractInteface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference Between Interface and AbstractInteface" Watch "Difference Between Interface and AbstractInteface" New topic
Author

Difference Between Interface and AbstractInteface

GayathriSwamiMahadevan
Greenhorn

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
thanx
Gayathri


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.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
GayathriSwamiMahadevan
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!!


Dave
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4750
    
    7

JLS 9.1.1.1 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]
 
Consider Paul's rocket mass heater.
 
subject: Difference Between Interface and AbstractInteface