char exercises
Easy Declare chars Create three char variables: Spot the error Which of the following declarations are invalid? Explain why Output prediction What will this code…
Easy Declare chars Create three char variables: Spot the error Which of the following declarations are invalid? Explain why Output prediction What will this code…
In Java, the char primitive type represents a single character. It can store letters, digits, and symbols using unicode, and occupies 2 bytes of memory.…