hi guys,
this block of code compiles succesfully:
i thought that the constructor in Class B has a return
type, so it should not compile.
please tell where i am going wrong??
class A {
public A() {}
public A(int i) { this ();}
}
class B extends A{
public boolean B(
String msg) {return false;}
}
class C extends B{
private C( ) { super( );}
public C(string msg) { this( ) ;}
public C(int i) { }
}
thanx,
prasanthi
}