Print a word · 단어 출력하기
Print a word
Welcome to the Java track! Java always has some setup lines around your code. For now, only change the words inside the quotes — leave the rest.
System.out.println("cat") shows cat.
The lines around your code — public class Main and public static void main — must stay exactly as they are. If a quote " or the ; goes missing, Java does not run the program. It shows an error such as ';' expected with a line number, and the card under it explains what to fix. The first Run can take a few seconds.
단어를 출력(print)하기
Java 트랙에 오신 것을 환영합니다! Java에서는 항상 코드 주변에 초기화 줄들이 있습니다. 지금은 따옴표 안의 단어만 변경하시고 나머지는 그대로 두세요.
System.out.println("cat")이 cat을 표시합니다.
코드를 둘러싼 줄들——public class Main과 public static void main——는 정확히 그대로 두어야 합니다. 따옴표 "나 ;이 사라지면 Java는 프로그램을 실행하지 않습니다. 줄 번호가 포함된 오류(예: ';' expected)를 표시하며, 아래 카드에 수정 방법을 설명합니다. 첫 번째 실행은 몇 초 걸릴 수 있습니다.
Change the text so it prints hello. · 출력된 텍스트를 hello로 변경하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.