Beginner · Lesson 1 of 12

Your first program

A program is a set of instructions. Start with one instruction that prints a message. Run it, change the message, and run it again. The edit–run–observe loop is how programmers explore ideas.

Try it for yourself

Run the example, then change one thing and see what happens.

13px
Main.javaYour ideas, in code.
Loading your editor…
Run your code to see the output here.
Ready to buildUTF-85 lines

Expected output

Hello, CuroCube!

Make it your own

Change the greeting to include your name.

A quick check

What does this program do?