Question: Question 7 What will this segment of code print? int sum - 45; int n - 10; double average - sum; System.out.println(average); 4.5 5 run

Question 7 What will this segment of code print? int sum - 45; int n - 10; double average - sum; System.out.println(average); 4.5 5 run time exception 4 Question 8 What will this segment of code print? int a - 3, D - 6; int Cb --a System.out.println(a + O 263 O 363 O 262 O 322
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
