Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Inheritance | Section
Java Object-Oriented Programming (OOP) Fundamentals

bookChallenge: Inheritance

Task

Let's start with your first task. The assignment is posted on GitHub, and your task is to fork the repository and clone it to your IntelliJ. You can find instructions on how to do this in this chapter .

There are several classes in the animals package. The Dog class has its own fields and methods, and there are three classes for different dog breeds: Bulldog, Doberman, and Beagle. The breed classes currently don't have their own fields and methods, but I need them to have the fields and methods from the Dog class. Inherit the Dog class in each of the breed classes and run the test to check if you have completed the task correctly.

Note
Note

Please do not modify the Dog class!

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 18

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

bookChallenge: Inheritance

Свайпніть щоб показати меню

Task

Let's start with your first task. The assignment is posted on GitHub, and your task is to fork the repository and clone it to your IntelliJ. You can find instructions on how to do this in this chapter .

There are several classes in the animals package. The Dog class has its own fields and methods, and there are three classes for different dog breeds: Bulldog, Doberman, and Beagle. The breed classes currently don't have their own fields and methods, but I need them to have the fields and methods from the Dog class. Inherit the Dog class in each of the breed classes and run the test to check if you have completed the task correctly.

Note
Note

Please do not modify the Dog class!

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 18
some-alt