This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes abstract and interface questions 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 and interface questions" Watch "abstract and interface questions" New topic
Author

abstract and interface questions

Sambasiva Suresh Kumar Dontamsetti
Greenhorn

Joined: Apr 19, 2004
Posts: 6
1. what is the difference between Abstract and Interface Classes?
2. when do u go for Abstract and for Interfaces?
[ EJFH: Remove the URGENT!!! ]
[ April 22, 2004: Message edited by: Ernest Friedman-Hill ]
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Doesn't look urgent to me.
And not advanced.
Urgent to read the nettiquette.


http://home.arcor.de/hirnstrom/bewerbung
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

moving this to the Intermediate forum.
Also, please don't mark your posts as "URGENT!!!" if anything it discourages people from helping you.
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
An interface has only the interfaces to methods - the prototypes for a method call - and none of the implementations (function bodies). An abstract class may have some of the methods actually implemented.
Also, in Java, a class can implement any number of interfaces, but may only inherit directly from one class, abstract or not.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstract and interface questions
 
Similar Threads
abstract class Vs interface
abstract interface
Interface problems...
i want answer
implements a listener