0

Can someone please provide an practical example of char?

8th Jul 2016, 3:13 AM
Christian
Christian - avatar
3 Respuestas
+ 1
char a = (char) 65; a now is equal to the alphabet "A" we converted ascii 65 to A
9th Jul 2016, 3:20 PM
Zunair
0
it's means one single letter
9th Jul 2016, 2:47 AM
Diaunte Brown
Diaunte Brown - avatar
0
@Diaunte Brown its also works as an integer if you only need up to 256 different values.
11th Jul 2016, 5:09 AM
Bernhard Eriksson
Bernhard Eriksson - avatar