System.out.println("줄바꿈 포함 ");
System.out.print("줄바꿈 미포함 ");
System.out.print("직접 줄바꿈 \n");
System.out.println("끝");
//\n은 문자열 안에 쓰게 되고 직접 줄바꿈을 해준다.
'IT > Programming Tip' 카테고리의 다른 글
프로그래밍 포토폴리오 팁 (Tip) (0) | 2017.12.28 |
---|---|
알고리즘 연습을 위한 사이트 (0) | 2017.12.21 |
shift 연산자 중요성 (0) | 2017.12.20 |
이클립스 (Eclipse) 단축키 (1) - 자주 쓰는 단축키 (0) | 2017.12.20 |
계산기 프로그래밍 팁 (0) | 2017.12.19 |