+ 1

When and where to use char in java

am so confused . could you tell me plz?

16th Feb 2021, 5:42 AM
Dawit Teshager(Seek Boy)
Dawit Teshager(Seek Boy) - avatar
1 Answer
+ 3
The Java char keyword is a primitive data type. It is used to declare the character-type variables and methods. It is capable of holding the unsigned 16-bit Unicode characters. It is possible that you have to perform some operations with a single character!
16th Feb 2021, 6:15 AM
Abhiyantā
Abhiyantā - avatar