A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Regarding abstarct classes
Tech Word Game
Reg. native methods
WA #1.....word association
difference between BufferedInputStream(or output) and other i/ostreams,regarding buffers.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013