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

 
sujay kulkarni
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Million Dollar question , when one should prefer for abstract class over interface or vice versa??

I am not getting satisfying answer for this question
Please help !
 
Winston Gutkowski
Bartender
Pie
Posts: 9485
50
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
manu united wrote:Million Dollar question , when one should prefer for abstract class over interface or vice versa??
I am not getting satisfying answer for this question
Please help !

Please KeepItDown (←click).

Million Dollar answer: when it makes sense.

And sometimes you will want both (or neither).

Winston
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, please don't use so much bold. It's like shouting, and it makes your post unpleasant to read.

As for your question, please SearchFirst(←click) and come back with more specific questions after you've done some research if some particular point is not clear. The question has been discussed to death here and on other sites, and has plenty of coverage in tutorials, blogs, and whatnot. There's a good starting point right on this site: https://www.coderanch.com/how-to/java/InterfaceVsAbstractClass
 
sujay kulkarni
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for sharing the link.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, did Jeff now win a million dollars?
 
sujay kulkarni
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hehehe virtually he has won !!

Sujay
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic