In vm/reference/java/lang/reflect/Constructor.java, there is the following
comment:

  ** @exception InstantiationException       if the class is abstract.
  **                  <B>Never mind that there should be no constructors
  **                     in an abstract class.</B>

I'm not sure why the author of this comment thought this was the case
(perhaps he was thinking of interfaces? or is it a stylistic comment on
class design?) but AFAIK it's not true.  Abstract classes can have
constructors.

--
Patrick Doyle
[EMAIL PROTECTED]


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to