InterviewSolution
Saved Bookmarks
| 1. |
An expression involving byte, int, and literal numbers is promoted to which of these?(a) int(b) long(c) byte(d) float |
|
Answer» Right choice is (a) int For explanation I would say: An expression involving bytes, ints, shorts, literal numbers, the entire expression is promoted to int before any calculation is done. |
|