Boolean type True, False로 이루어져 있다. 이 두개는 reserved word로 변수로 사용하지 못한다. public class Main { public static void main(String[] args) { System.out.println("One"); System.out.println(1); System.out.println(true); System.out.println(false); String foo = "Hello world"; //String true = "Hello world"; reserved word System.out.println(foo.contains("world")); System.out.println(foo.contains("egoing")); } }