Programming & Software course
Java Programming Basics
Write, test, and debug foundational Java programs using control structures, methods, and arrays.
14 lessonsabout 2 hours in allBeginnerFree
Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
- Write small Java programs using variables, arithmetic, conditionals, loops, methods, strings, and arrays
- Plan simple solutions, use built-in math operations, and identify whether an error occurs during compilation or execution
What you'll learn, lesson by lesson
- 1How a Java Program RunsWrite a program that prints a greeting and your name on two lines.
- 2Variables and TypesDeclare a variable of the right type for an age, a price and a yes/no answer.
- 3Arithmetic and Type ConversionPredict the results of 7 / 2, 7 % 2 and 7.0 / 2.
- That's a preview. 11 more lessons follow.
Take all 14 lessons free in the Milo app, with Milo teaching each one.
Start this course free - 4If Statements and Boolean Logic
- 5While Loops
- 6For Loops and Nesting
- 7Finding and Fixing Bugs
- 8Plan Before You Code
- 9Writing Your Own Methods
- 10Libraries and Separate Jobs
- 11Strings and Positions
- 12Searching Text with Loops
- 13Arrays
- 14Two-Dimensional Arrays
Inside the app
Not a video. A tutor who teaches you.
Milo explains each idea of Java Programming Basics out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.
Start free

More in Programming & Software
See allFree to learn
This course is free. So is Milo's help planning it.
Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.
- Can I really start for free?
- Yes. No card needed.
- Can I cancel a membership any time?
- Yes, from your account. You keep it until the end of the month you paid for.
- Where does it work?
- In any browser on a phone, tablet or computer. Phone apps are on the way.



