My Java Quiz

The ultimate place to learn Java!

Question #87: Why does the following program shows compile time error in class B declaration Statement?

class A{
    A(int x){}
}

class B extends A{
    B(){
    }
}