An expression involving byte, int, and literal numbers is promoted to which of these?

Q & ACategory: JavaAn expression involving byte, int, and literal numbers is promoted to which of these?
Admin Staff asked 5 years ago

An expression involving byte, int, and literal numbers is promoted to which of these?
a) int
b) long
c) byte
d) float

1 Answers
Admin Staff answered 5 years ago

a) int