Variable ​​of "char" type can store values from the following range
Explanation
Character literals can only represent UTF-16 code units, i.e., they are limited to values from \u0000 to \uffff.

Amidst these questions in the tests, you have one question about chars where you convert ints in different bases into char, implicitly. Now this question not only gives 3 possible answers with numbers, but you also say that char stores code units..? When numbers should also fit? This question should be reformatted to include both numbers and \u

2023 Feb 16, 8:57:01 AM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes