Fundamentals · Free forever
Learn Java from zero by writing small programs for a Lisbon bakery. Each lesson teaches one idea, then you compile it in the editor and check your answer instantly. Modern Java, no prior experience needed.
You've joined Pastelaria Sol, a busy bakery in Lisbon famous for its pastéis de nata. Marta, who runs the shop, wants the order book and the till's pocket calculator replaced by small programs.
Output, comments and compiler errors, variables and types, arithmetic, Scanner, printf.
if and else, else if, && and ||, and switch.
while and for, break and continue, and reading until a stop value.
Arrays, ArrayList, the for-each loop, Strings and HashMap.
Your own methods, what they can change, overloading, then the capstone.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your Java Fundamentals certificate with a link anyone can verify.
Java collections: choosing between List, Set, Map and Deque
ArrayList vs LinkedList, HashMap vs TreeMap, HashSet vs LinkedHashSet, ArrayDeque for stacks and queues: what each costs and which to reach for first.
Java exceptions: checked vs unchecked, try-with-resources and error messages
When Java forces you to handle an exception and when it doesn't, how try-with-resources closes files for you, writing your own exceptions, and the mistakes that hide real bugs.