Skip to main content

Q) explain about “char” data type in java?



A)
Character data type in java supports Unicode character set. A “char” type variable occupies 2 bytes to memory. It is meant for supporting internationalization. i.e., any language characters in the world can be accommodated.

Comments