This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes interface and abstract Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "interface and abstract" Watch "interface and abstract" New topic
Author

interface and abstract

Hendra Kurniawan
Ranch Hand

Joined: Jan 31, 2011
Posts: 239
I did an online quiz on java earlier and I got to a question that asked when I should use interfaces and when to use abstract clases. I realize that I never thought much about this. Basically, I use instinct to decide when to use which. I don't really have a golden rule in regard to this principle. can anybody help?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

https://www.coderanch.com/how-to/search?InterfaceVsAbstractClass
 
GeeCON Prague 2014
 
subject: interface and abstract