Sail E0 Webinar
Question
An expression involving byte, int, and literal numbers is promoted to which of these?
Options:
A .  int
B .  long
C .  byte
D .  float
Answer: Option A


An expression involving bytes, ints, shorts, literal numbers, the entire expression is promoted to int before any calculation is done.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers