반응형
package com.company;
public class Main {
public static void main(String[] args) {
char myChar = 'D';
char myUnicodeChar = '\u0044';
System.out.println(myChar);
System.out.println(myUnicodeChar);
char myCopyrightChar = '\u00A9';
System.out.println(myCopyrightChar);
boolean myTrueBooleanValue = true;
boolean myFalseBooleanValue = false;
boolean isCustomerOverTwentyOne = true;
}
}
Output
D:\IT\JDK\jdk11.0.6_10\bin\java.exe "-javaagent:D:\IT\IDEA\IntelliJ IDEA Community Edition 2020.1\lib\idea_rt.jar=51318:D:\IT\IDEA\IntelliJ IDEA Community Edition 2020.1\bin" -Dfile.encoding=UTF-8 -classpath D:\IT\NewProject\project\CharAndBoolean\out\production\CharAndBoolean com.company.Main
D
D
©
Process finished with exit code 0
'JavaCode(review)' 카테고리의 다른 글
Operator (0) | 2020.06.23 |
---|---|
FloatingPointNumbers/Double (0) | 2020.06.23 |
ByteShortIntLong Max/Min (0) | 2020.06.23 |
Generics Class 기본예시/ Team- player (0) | 2020.06.23 |
Abstract Class Challenge - interface , linkedList이용 (0) | 2020.06.21 |