Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Print a word · ⁨พิมพ์คำ⁩

English

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.

ไทย

พิมพ์คำ

ยินดีต้อนรับสู่เส้นทาง Java! Java มักจะมีบรรทัดตั้งค่าบางบรรทัดรอบโค้ดของคุณ ปัจจุบัน เปลี่ยนเฉพาะคำภายในเครื่องหมายอ้อม quotes — ทิ้งส่วนอื่นไว้

System.out.println("cat") แสดง cat

บรรทัดรอบโค้ดของคุณ — public class Main และ public static void main — ต้องคงไว้ตามเดิม หาก quote " หรือ ; หายไป Java จะไม่รันโปรแกรม มันแสดงข้อผิดพลาดเช่น ';' expected พร้อมหมายเลขบรรทัด, และการ์ดด้านล่างอธิบายว่าต้องแก้ไขอะไร การ Run ครั้งแรกอาจใช้เวลาไม่กี่วินาที

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP