This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "interface and abstract" Watch "interface and abstract" New topic

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

Joined: Jan 03, 2004
Posts: 6109
I agree. Here's the link:
subject: interface and abstract
It's not a secret anymore!