> This code fails on "cannot resolve symbol." on the marked line.
> Any suggestion?
> TIA,
> Omer.
Omer wrote:
> public MyClass () {
> MyClass (0, 0);// <=== error: cannot resolve symbol. :-(
> }
>> This code fails on "cannot resolve symbol." on the marked line.
>> Any suggestion?
Don't embed TAB characters in Usenet posts.
> public MyClass () {
> this (0, 0);
> }
Side note to the OP: this is not polymorphism but constructor overloading.
Polymorphism involves method overrides, which don't happen with constructors.
Why'n'cha check out the Wikipedia entry for "Type polymorphism"?

Signature
Lew