0
Explain how this program works..
2 Antworten
+ 11
The program is printing 11 in base 16. (hexadecimal)
The parseInt() method's first parameter takes a string and the second parameter the base for it to be converted.
0
your converting "11" into an integer first.. the radix is another word for base. Radix is 2 for binary, 10 for decimal, 16 for hexadecimal.. you have 16 so hexadecimal. the Hexadecimal of 11 is 17