String s = “1001”;
Int x = Integer.valueof(s);
Double y = Double.valueof(s);
System.out.println("x = " + x);
System.out.println("y = " + y);
Answers
Answered by
1
Answer:
the output is
x=1001
y=1001.000000
Similar questions