
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore object oriented programming in Java through hands-on coding exercises, with video clips for tougher topics, designed for beginners and updated continually with learner feedback.
Practice implementing a simple rectangle class in Java by adding a constructor, width and height fields, validated setters, an area method, and a main method that prints the area.
Explore inheritance in Java by having Student extend Person, override toString, and use super in constructors. Instantiate objects, cast references, and observe how methods come from the actual object.
Explore implementing an abstract shape class with rectangle and circle subclasses that override area, and compute the total area of an array of shapes via the shape utils.
Find a solution for every coding exercise, with explainer videos for unresolved ones and the option to request new videos to support your ongoing learning.
This course assumes that you are already familiar with OOP in Java. This course includes more than 20 coding exercises organized into topics such as simple classes, class inheritance, abstract classes, and implementing interfaces.
Each coding exercise includes code the student needs to complete its missing parts and submit. Taking this course, if you feel that you would like to have more exercises of a specific level in a specific topic, please don't hesitate to let us know. We will take your needs into account when working on the next version of this course.
If you encounter an exercise you fail to complete and have difficulties understanding its solution, please let us know, and we will prepare a video that explains that specific exercise and its solution. If a video already exists and you still need more explanations, please don't hesitate to let us know so we can improve the video that already exists or prepare another one.
Learn how to define new classes in Java
Learn how to define new classes that extend others
Learn how to define an abstract class and how to use it
Learn how to define interfaces and how to use them
This course includes multiple coding exercises organized in separate sub-topics. This course includes solutions for all coding exercises. Selected coding exercises have video clips that explain their solutions. Make sure you already have a basic understanding of object-oriented programming in Java before taking this course.
While completing the coding exercises this course includes, we will be more than happy to get your feedback and requests per those specific coding exercises for which you would like us to prepare video clips that explain them.
This course includes more than ten coding exercises. When taking this course, feel free to let us know in which sub-topic you would like to have more coding exercises, and we will make a special effort to develop these exercises.