This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes abstract & interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstract & interface" Watch "abstract & interface" New topic
Author

abstract & interface

Joyce Yu
Greenhorn

Joined: Jul 20, 2003
Posts: 6
abstract & interface are very similar. can anyone tell me when should I use abstract? and when should I use interface?
Thank you very much!
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1821

Thsi has been asked many times in this forum, so a quick search should yeild results. However, to save you the time, allow me to refer you to my favorite explaination


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
jQuery in Action, 2nd edition
 
subject: abstract & interface