Question: System.out.println ( userInt + + userDouble + + userChar + + userString ) ; / / ( 2 )
System.out.printlnuserInt userDouble userChar userString;
Output the four values in reverse
System.out.printlnuserString userChar userDouble userInt;
Cast the double to an integer and output that integer
int castedInt int userDouble;
System.out.printlnuserDouble cast to an integer is castedInt;
scnrclose;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
