Computer Applications

What kind of constants are the following ?

14, 011, 0X2A, 17, 014, 0XBC1

Values & Data Types Java

29 Likes

Answer

14Decimal Integer Literal
011Octal Integer Literal
0X2AHexadecimal Integer Literal
17Decimal Integer Literal
014Octal Integer Literal
0XBC1Hexadecimal Integer Literal

Answered By

16 Likes


Related Questions