5 years ago in Java Data Types

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

[A] int
[B] long
[C] byte
[D] float
Loading...
Next Question

Overall Stats

Attempted 360
Correct 105
Incorrect 127
Viewed 128

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 3 days ago

Shamsa hafeez from Lahore, Pakistan is saying int is correct answer

Assaad Amine
Assaad Amine - 1 month ago

Assaad Amine from Casablanca, Morocco is saying int is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying byte is correct answer

HD
HD - 1 month ago

HD from Kenitra, Morocco is saying byte is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying float is correct answer

Related Questions

What is the range of data type int in Java?

  • [A] -128 to 127
  • [B] -32768 to 32767
  • [C] -2147483648 to 2147483647
  • [D] None of the mentioned

Range of byte data type is ?

  • [A] -128 to 255
  • [B] -128 to 256
  • [C] -128 to 127
  • [D] -127 to 128