A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
Abstract class and interface... Superclass
Joined: May 13, 2002
Sep 23, 2002 00:36:00
I've a homework execrise about that...
1. In what situation would we use an abstract class instead of an interface?
2. In what situation would we use an interface instead of an inheriting from a superclass?
3. When is it better to use an interface rather than an abstract class?
How to think that three kinds of keywords?
Joined: Aug 03, 2002
Sep 23, 2002 00:50:00
Homework Help No, Java Tutorial Yes
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Abstract class and interface... Superclass
how every methods in interfaces are public abstract by default
Interface vs abstract class
forcing implementing methods
Where to use abstract class and Interface?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014