Reddy,
I think you have big mis-understanding about data types.
any how in your code
x=x.toString() is not correct
it will fire a compile time error.
Look at the following code.
Integer ix = new Integer(400);
Integer iy = new Integer(500);
int x;
int y;
String sx;
String sy;
x = ix.intValue();
y = iy.intValue();
sx = ix.toString();
sx = iy.toString();
System.out.println(x+y);
System.out.println(sx+sy);
I hope this will clear your ideas!!!
[This message has been edited by jafarali (edited July 25, 2000).]