Question: 11.) What is the result of the following: int f = 9; double answer; answer = (double) f/3; f/= 3; System.out.println (answer is:
11.) What is the result of the following: int f = 9; double answer; answer = (double) f/3; f/= 3; System.out.println ("answer is: " + answer); System.out.println("f is: " + f);
Step by Step Solution
3.31 Rating (148 Votes )
There are 3 Steps involved in it
Result will be Answer is 30 fis 3 1 public class calculation 2 3 public sta... View full answer
Get step-by-step solutions from verified subject matter experts
