Two Laptop Bag
The moose likes Beginning Java and the fly likes abtract class and interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abtract class and interface" Watch "abtract class and interface" New topic

abtract class and interface

Eshwin Sukhdeve
Ranch Hand

Joined: Mar 15, 2012
Posts: 89
suppose I have one abstract contains all methods as abstract.and I have one defualt interface having all
methods this case both having same behaviour.then why we chosse either interface or abstract class.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63226

Please SearchFirst. This exact question has been posed many times.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10745

And we even have a FAQ for it
This would be more suitable on the beginners forum. Moving

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Eshwin Sukhdeve
Ranch Hand

Joined: Mar 15, 2012
Posts: 89
thanks for help
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: abtract class and interface
jQuery in Action, 3rd edition