Couple things:
1). Constructors do not have return values; therefore, you cannot chain them together.
2). Secondly, since A has a defined constructor, a default, no-argument constructor will
not be provided; you will get a "cannot resolve symbol" error when you call super()
3). You do not have a constructor that takes a
String as a parameter in your B class. The call to this(String) will not resolve ("cannot resolve symbol" error message.
Remember, Constructors are not Methods; they do not return anything, they are not inherited, and they do not participate in
polymorphism.
I'm not sure what result you were trying to acheive with that syntax, but to get the result I
think you want, try:
[ July 15, 2003: Message edited by: Joel McNary ]