Home » java » Java Character Data Type

Java Character Data Type

Character data ( example ‘a’ , ‘b’ , ‘f’, ….. etc. ) is stored in “char” data type.

TypeDefaultSize
char\u000016 bits

Write a program to demonstrate char data types.

Result

Program to print character using ASCII value

Result

Please follow and like us:
error