2 THE CHAR AND BOOLEAN PRIMITIVE DATA TYPES
package com.cnc;
public class Main {
public static void main(String[] args) {
7 //CHARACTERchar myChar = 'D'; It is different from string, it can only store only one character it occupies 2 bytes of memory or 16 bits so it does not a byte and allows to store UNICODE characters
char myUnicodeChar = '\u0044'; THIS IS THE UNICODE OF D
System.out.println(myUnicodeChar);
8 //BOOLEAN
boolean myTrueBooleanVal = true; boolean myFalseBoooleanVal = false; //Find adult or not. boolean adult = true; }
}