Question: Unset Double val = 3 2 System.out.print ( val + ) ; System.out.print ( ( int ) val + )

Unset
Double val =32
System.out.print(val +""");
System.out.print((int) val +"");
System.out.print(val +"");
Q: what is printed
a)1.511.5
b)1.511
c)1.011.0
d)1.011
e)1.511.0
2. Unset
Double x=1.5;
Int y=(int)x**2;
Double z=y;
System.out.print ln(y++z);
Q:what is printed
a)23.0
b)3.03.0
c)2.2.0
d)2.02.0
e)33.0
 Unset Double val =32 System.out.print(val +"""); System.out.print((int) val +""); System.out.print(val +"");

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!