Learn Java: Object-Oriented Programming
Learn the foundations of object-oriented programming in Java: design classes, create objects, write methods that work with them, and put Java's built-in classes such as Math, Integer, Double and String to work.
- Beginner level
- 2 modules
- 13 lessons
- 49 tasks and questions
Syllabus
01Classes and ObjectsModel things from the real world as classes. Give objects state with fields, set them up with constructors, give them behavior with methods, and make them print nicely with toString.7 lessons
02Using Built-In ClassesTreat classes as black boxes with public APIs, read their contracts, pass objects to methods and constructors, and use the Integer, Double, Math and Random classes from the standard library.6 lessons