Notice
Recent Posts
Recent Comments
Link
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

WON.dev

chapter09 : escape 본문

JAVA/chapter02_variable_dataTaye

chapter09 : escape

GAWON 2023. 5. 25. 15:14
package org.joonzis.ex;

public class Ex09_escape {
	public static void main(String[] args) {
		
		// 출력 시 옵션
		
		// 1. 줄 바꿈 : \n
		System.out.println("\n 줄 바꿈");
		// 2. 간격(탭) : \t
		System.out.println("\t 간격");
		// 3. '출력 : \'
		System.out.println("\' 출력");
		// 4. "출력 : \"
		System.out.println("\" 출력");
		// 5. \출력 : \\
		System.out.println("\\ 출력");
		
	}
}

'JAVA > chapter02_variable_dataTaye' 카테고리의 다른 글

chapter08 : parsing  (0) 2023.05.25
chapter07 : castingEx  (0) 2023.05.25
chapter06 : casting  (1) 2023.05.25
chapter05 : literal  (0) 2023.05.25
chapter04 : String  (0) 2023.05.25