[JAVA] println VS. printf

2020. 10. 13. 17:56JAVA

System.out.println("명령어"); : 밑으로 출력이 진행된다.

 

System.out.printf("명령어"); : 옆으로 출력이 진행된다.