Multiple choice java

Which of the following java doesnt support?

  1. signed number

  2. unsigned number

  3. signed right shift

  4. unsigned left shift

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java does not support unsigned numeric types for its primitive integer types (byte, short, int, long); they are always signed. Java does support signed numbers, signed right shifts (>>), and unsigned right shifts (>>>), but it does not have a specific 'unsigned left shift' operator because left shifting is identical for both.