Beginner 9 lessons · free
Java tutorial OOP and backend foundations.
Java — object-oriented programming for backend careers. Every lesson has a complete program with its expected output, key points, a practice task, a quiz and interview questions.
Start learning Java
Not started
Lessons
What you'll learn
- 01Java introductionWhat Java is used for, the JDK, and the structure of a Java program.
- 02Variables & data typesPrimitive types, String, type casting and var.
- 03Operators, if & switchComparisons, logical operators, if / else and modern switch expressions.
- 04Loops & arraysfor, enhanced for, while, and working with arrays.
- 05MethodsDefining methods, parameters, return types and overloading.
- 06Classes & objectsFields, constructors, this, encapsulation with getters, and records.
- 07Inheritance, interfaces & polymorphismextends, super, @Override, abstract classes and interfaces.
- 08Collections & genericsList, Set, Map, generics and a first look at streams.
- 09Exceptionstry / catch / finally, checked vs unchecked exceptions and try-with-resources.