Write your first complete program, learn to think in methods and objects, and bring several source files together into a working application. Every step includes code you can change and run.
Try it here — press RunJavapublic class Main {
public static void main(String[] args) {
// Change a duration, then press Run.
int[] sessions = {25, 10, 15};
int total = 0;
for (int minutes : sessions) {
total += minutes;
}
System.out.println("Planned: " + total + " minutes");
}
}
Change 25 to 30 and run again. Day 1 explains the frame around the instructions.
Find your starting point
Three levels. One clear path.
Start from zero. You do not need Python, JavaScript or any other programming language. Every available course is public, with no sign-in required.
01 / BeginnerPublic
Beginner Java
Your first programming course
From printing your first message to building a tested application with its own objects and separate source files.
All three Java levels are available and public. Start with beginner, then continue through intermediate and advanced.
More than a page to read
A little explanation. Plenty to try.
You learn a rule by using it. Each day gives you chances to predict, experiment and solve a problem with less help.
01
Learn by changing code
Read a short explanation, predict the output and run the example. Change an input to find out whether you understood the rule.
02
Get help in small steps
Try each exercise first. Open an idea hint, then a first-step hint if you need it. Compare your approach with the worked solution afterward.
03
Build beyond the example
Use checkpoints to work independently. Finish a project, tackle a different brief and return a few days later to practice from memory.
Beginner, day by day
Seven steps to a working project.
Plan around 90 minutes of active study on Days 1–6; the final project has its own estimate. Split a day into smaller sessions when needed; the order matters more than the calendar. Delayed review is extra.
By the end of beginner, the pieces come together in a multi-file study planner. You will know where the data lives, how it changes and how to check the result.
Switch between Main.java and helper classes, run the model checks and download the sources for optional local work. Then transfer the ideas to a reading tracker.
The small example at the top already uses the same idea: store a few sessions and derive a useful total. The course teaches each piece before asking you to build the complete project.
About the browser editor
A Java 25 subset runs in this browser. The course introduces supported features in order; installing a full JDK is an optional Day 7 step.
Before you begin
A few useful answers.
Start with the right expectations, then spend your time making things work.
Is Java the same as JavaScript?+
No. They are different languages. Neither beginner course requires the other. Choose Java if you want to begin with explicitly typed programs, classes and objects.
Do I have to install Java?+
No. All core practice runs in the browser, including the multi-file planner. Day 7 offers source downloads and optional instructions for compiling the same project with a local JDK.
Can I edit more than one source file?+
Yes. Later lessons supply named source tabs such as Main.java and Session.java. You can edit both and run the program through its marked entry point.
What comes after beginner?+
Continue with Java intermediate to practice collections, interfaces, generics, streams and a tested task tracker. Then build an expense ledger in advanced with modern data models, exact decimals, atomic imports and stronger tests.
Start with one small program
You can run your first example today.
No setup checklist. Open Day 1, change a line and see what happens. The rest can follow one lesson at a time.