반응형
조건문
-
[Java] 자바 기본문법(1) - 출력, 변수선언, 조건문, 주석, 반복문, 배열, 인덱싱 / println, if, while, for, switch - case,앱 개발/Java 2022. 1. 14. 13:49
https://replit.com/languages/java Java Online Compiler & Interpreter Write and run Java code using our Java online compiler & interpreter. You can build, share, and host applications right from your browser! replit.com 온라인으로 자바를 컴파일할 수 있는데, 그 주소는 위와 같다. 0. 출력 C, python 중에서 제일 복잡한 자바의 출력! System.out.println() 메소드를 사용해서 출력한다. 단, println 메소드에 프린트하고 싶은 여러 개의 변수들을 쉼표를 이용해 넣으면 에러가 발생한다. 출력결과는 오른쪽과 같으며..