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
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Regarding abstarct classes
Joined: May 22, 2006
Jun 15, 2006 22:49:00
i HAVE A QUESTION PLZ ADVICE....
Subclasses of an abstract class that do not provide an implementation of an abstract method, are also abstract??
Joined: Oct 23, 2005
Jun 15, 2006 22:56:00
Such a class does not compile.
If you mark them as abstract, though, they will compile. There's no such thing as a non-abstract class that inherits from an abstract class and does not provide implementations of its parent's abstract methods.
Down Home Country Coding with Scott Selikoff
Ramasubbhu Allur Kuppusamy
Joined: Sep 16, 2005
Jun 16, 2006 01:33:00
In other words, the first concrete subclass of an abstract class should implement all the methods in the abstract parentclass.
Regards,<br />Ram.<br />SCJP 1.4
I agree. Here's the link:
subject: Regarding abstarct classes
Reg. native methods
difference between BufferedInputStream(or output) and other i/ostreams,regarding buffers.
Tech Word Game
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014