Hello, I dont think you can initialize variables in a method/constructor argument list since that place is kept for declaring the arguments which will be recieved when it is called. Anyhow, a = b will also not work since you are trying to set the variable a of the method; which does not exist. You would need to do: this.a = b; Try this:
I hope what I am saying is right, someone please correct me if im wrong. Thanks, Kamil. [This message has been edited by Kamil Dada (edited August 15, 2001).]
Kamil both ur appraoch of telling this.a & a will work. int a is declared at line 1 and initialized by the constructor. So no problemo. Watch out line 2 & 3.....
------------------ azaman
Ashik Uzzaman Director of Engineering, Twin Health, Mountain View, CA, USA