1

What will be output of x and y if ,
String s= "1001";
int x=Integer.valueOf(s);
double y=Double.valueOf(s);

  • A

    x=”1001″;y=1001

  • B

    x=”1001″;y=1001.0

  • C

    x=1001;y=1001.0

  • D

    x=1001.o;y=1001