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.
اطبع كلمة
أهلاً بك في مسار 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. · اضغط تشغيل لرؤية المخرجات هنا.