Character

    [Java Study] 문자열의 표현

    public class main { public static void main(String[] args) { //String, Character System.out.println("Hello, world!"); //String 문자열 Character들의 집합체 System.out.println('H'); //Character 문자 하나 System.out.println("H"); System.out.println("Hello" +"world!"); System.out.println("Hello \nworld"); //New line System.out.println("Hello \"world\""); //Hello "world" } } Hello, world! H H Helloworld! Hello w..