Computer Science, asked by chintanvnaik07, 7 hours ago


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 ansikasenger632
1

Answer:

the output is

x=1001

y=1001.000000

Similar questions