Java: free course
A popular language for Android apps, banks, big business systems and university courses. Learn the syntax and object-oriented programming.
Start lesson 1 Open the interactive course Printable course notes
Lessons
- 1 Java introduction: what Java is, where it's used, the JDK and JVM, your first program, syntax rules and input/output
- 2 Variables, data types and operators in Java
- 3 Conditions, loops and arrays in Java: if/else, switch, for, while, do-while, break/continue, arrays and 2D arrays
- 4 Methods: parameters, return values and overloading
- 5 Strings, arrays and ArrayLists
- 6 Classes and objects (OOP) in Java: fields, constructors, methods, encapsulation, static members, toString and designing classes
- 7 Inheritance, interfaces and polymorphism
- 8 HashMap, collections and exception handling
- 9 Java for Android and next steps: Android Studio, activities, layouts, events, Java vs Kotlin, Spring Boot and your learning path