I know I\'m asking some serious 101 question here...
I have some class Foo and a class Bar that extends Foo. In Foo
Foo
Bar
JVM will not provide a default constructor if you have provided one due to design reasons. What you can do define constructor in Bar with same signature and call super().
public Bar(int x,int y) { super(x,y); }