Solved

What Will Be Printed by the Statements Below? Final Int

Question 38

Multiple Choice

What will be printed by the statements below? final int BONUS = 20;
Int salary = 100;
Int netSalary = salary + BONUS;
System.out.print (netSalary) ;


A) salaryBONUS
B) 120
C) 100BONUS
D) Nothing will be printed because constants cannot be used in expressions.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions