File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
abstract class and interface
Joined: Oct 10, 2002
Oct 10, 2002 23:12:00
can any tell me,
when to use abstract classs and interfaces.
Joined: Oct 16, 2000
Oct 11, 2002 12:09:00
You would use an abstract class when you have common methods that any subclass needs to have.
You use interfaces when you do not want the class to do anything, but tell all other classes the methods that they must have in order to be instatiated.
I agree. Here's the link:
subject: abstract class and interface
difference between BufferedInputStream(or output) and other i/ostreams,regarding buffers.
WA #1.....word association
Reg. native methods
Tech Word Game
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014