2 Apr 2002 09:54
Re: Instantiating an abstract class
<m.dahm <at> 4flow.de>
2002-04-02 07:54:22 GMT
2002-04-02 07:54:22 GMT
Hi, of course you can not instantantiate a class with abstract methods. You can and should provide a constructor, however. Cheers Markus > Von: Stephen Colebourne [mailto:scolebourne <at> eurobell.co.uk] > Gesendet: Freitag, 29. März 2002 19:20 > An: bcel-user <at> jakarta.apache.org > Betreff: Instantiating an abstract class > > > Hi, > I would like to be able to define a class as abstract so I > only have to > define the method signatures. (BCEL would then be used to generate the > implementations). However, I would also like to be able to > instantiate the > class using the standard new operator (This must work in a > standard IDE, > like Eclipse). From what I have seen so far its impossible (I > will have to > use a factory), but have I missed something? Any other bright ideas? > > Stephen > > > -- > To unsubscribe, e-mail:(Continue reading)
RSS Feed