Mark the answer choices in which the pairs are equal to each other (2 correct answers):
Explanation
Numbers starting from 0 are considered to be represented in octal notation in Java. Numbers starting from 0x - in hexadecimal notation.
Therefore 05 = 5 010 = 8, 0x5A = 90 and 09 number does not exist in octal nrepresentation.

This question is stupidly gimmicky and has no real use... but holy damn is it a fun one!

2023 Feb 16, 9:18:06 AM

geekstomach24, octal is from 0 to 7, that's why digit 9 doesn't exist in this type of representation.

2018 Jun 21, 4:56:21 PM

Why 05 exists, and 09 does not exist?

2018 Jun 8, 9:06:04 AM

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты