Lesson 1 of 34

உங்கள் முதல் Java Program

7 min 20 XP

ஒவ்வொரு Java program-ம் ஒரு class-க்குள் இருக்கும். Program, main() method-லிருந்து தொடங்கும். திரையில் காட்ட System.out.println() பயன்படுத்துகிறோம். கீழே உள்ள program-ஐ Run செய்து பாருங்கள்.

Example: edit me and press Run

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.

ஒவ்வொரு statement-ம் ; (semicolon) உடன் முடிய வேண்டும். Text-ஐ " " quotes உள்ளே எழுதுகிறோம், இதை String என்கிறோம். { } brackets, code-ஐ குழுக்களாகப் பிரிக்கின்றன.

Example: edit me and press Run

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.

println() வரி முடிவில் புதிய வரிக்குச் செல்லும். print() அதே வரியில் தொடரும். Java-ல் capital letters முக்கியம்: System, String எப்போதும் capital S.

Challenge

+20 XP

இந்த இரண்டு வரிகளையும் சரியாக print செய்யுங்கள்: Hello Java I can code!

Output Loading Java (first time takes a few seconds)
Press Run to see the result here.