courses / java
learn java
Three levels, from never written code to writing it like a professional. Write once, run anywhere.
from zero to your first real programs.
For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.
1 unit 1 Say hello Make the computer do exactly what you tell it.
2 unit 2 Boxes with names Make the computer remember things.
3 unit 3 Words and numbers Tell text and numbers apart and use both.
4 unit 4 Make decisions Make your program choose what to do.
5 unit 5 Repeat yourself Do the same thing many times without copying.
6 unit 6 Arrays Keep many things together and work through them.
7 unit 7 Your own commands Wrap code up so you can use it again.
build things that are actually useful.
For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.
1 unit 1 Lists that grow Keep as many things as you like, in order, and change them as you go.
2 unit 2 Maps and sets Look things up by name and keep every value only once.
3 unit 3 Build better objects Give your objects a proper start, skills of their own and some privacy.
4 unit 4 Shared, equal and fixed Share values across objects, compare them fairly and fix a set of choices.
5 unit 5 Family trees Build new classes on top of old ones and give them a shared shape.
6 unit 6 When things go wrong Catch problems, throw your own and keep your program running.
7 unit 7 Save your work Build text, save it in files and read it back.
write java like a professional.
For people who build things on their own and want code that others trust and can change.