Complete the code to declare an integer with underscores for readability.
val number = 1[1]000_000
In Kotlin, underscores can be used inside number literals to improve readability, like 1_000_000.
Complete the code to declare a hexadecimal number literal.
val hexNumber = [1]FF0b which is for binary numbers.0d or 0o which are invalid prefixes in Kotlin.Hexadecimal literals in Kotlin start with 0x followed by hex digits.
Fix the error in the binary number literal declaration.
val binaryNumber = [1]1010_1010
0x which is for hexadecimal numbers.0d or 0o which are invalid prefixes.Binary literals in Kotlin start with 0b followed by binary digits.
Fill both blanks to create a hexadecimal number with underscores.
val color = [1]FF[2]00FF
0b for hex numbers.Hexadecimal literals start with 0x. Underscores can separate digits for readability.
Fill all three blanks to declare a binary number with underscores and the correct prefix.
val mask = [1]1010[2]1010[3]1111
0x for binary numbers.Binary literals start with 0b. Underscores _ can separate digits for clarity.
