This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abstract class Vs interface

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Difference between abstract class and interface?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found 117 responses to this question in this forum. When I get a few minutes, I should add it to the FAQ for this forum.
[ August 03, 2004: Message edited by: Marilyn de Queiroz ]
 
Sadanand Murthy
Ranch Hand
Posts: 382
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kri shan:
Difference between abstract class and interface?


Are this class quiz/test questions? Have you tried the search function on this forum?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm thinking that Marilyn's link isn't pointing where she'd hoped.

Note that the search page link is at the top right of this page.
 
Jack Kay
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remember rule #1 Dirk, be nice! lol j/k j/k
 
Vijayendra V Rao
Ranch Hand
Posts: 195
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kri shan:
Difference between abstract class and interface?


A single line answer to a question "What is an interface?" would be...an interface defines a set of requirements to which every implementing class should comply. Whereas, Abstract classes factor out common functionalities that are going to be shared by all of its subclasses, but doesn't know the concrete implementations of those functionalities. This will have to be supplied by the extending superclasses. This was just to give you a basic idea of what you mean by Abstract classes and interfaces.

You should definitely do some home work on this.This is where you can start.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic