File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Groovy Fundamentals video training course this week in the Groovy 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