This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 1824

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: abstract & interface
 
It's not a secret anymore!