Any way to _not_ call superclass constructor in Java?

Posted by Misha Koshelev on Stack Overflow See other posts from Stack Overflow or by Misha Koshelev
Published on 2010-06-03T15:58:07Z Indexed on 2010/06/03 16:04 UTC
Read the original article Hit count: 285

Filed under:
|

If I have a class:

class A {
   public A() { }
}

and another

class B {
   public B() { }
}

is there any way to get B.B() not to call A.A()?

Thank you Misha

© Stack Overflow or respective owner

Related posts about java

Related posts about constructor