Learning Java

Java is one of the most used languages in the world. It earned that with how it handles large applications and how stable it stays over the years. You'll find it in web apps, mobile apps, and enterprise systems alike. Start here and take it one step at a time.

Sub-series

Articles

1

Java switch: the 78 That Came Out as a C

A grading program marks a paper 78 and prints grade: C. case 7 assigns B and then runs into case 6 because the break is missing, and the compiler says nothing about it.

2

Java Loops: the Last Price That Never Reached the Sum

Four prices add up to 47000, and the cart program prints 36500. The bound is prices.length - 1, so the last item is never read while the average is still divided by four.

For developers who learn by struggling

© 2026 Inva.dev.