Битва роботов: 3 уровень, 11 лекция Java Core / Battle of robots: level 3, lesson 11 JavaRush

Битва роботов: 3 уровень, 11 лекция Java Core Battle of robots: level 3, lesson 11 JavaRush Задание от JavaRush Битва роботов: 3 уровень, 11 лекция Java Core Затем измени код согласно новой архитектуре и добавь новую логику: Сделай класс AbstractRobot абстрактным, вынеси логику атаки и защиты из Robot в AbstractRobot. Отредактируй класс Robot, учитывая AbstractRobot. Класс Robot должен наследоваться от класса AbstractRobot. Расширь класс BodyPart новой частью тела BodyPart.CHEST("грудь"). Добавь новую часть тела в реализацию интерфейсов Attackable и Defensable (в классе AbstractRobot). The task from JavaRush Battle of robots: level 3, lesson 11 Java Core Then change the code to fit the new architecture and add new logic: Make the AbstractRobot class abstract, transfer the attack and defense logic from Robot to AbstractRobot. Edit the Robot class to reflect AbstractRobot. The Robot class must inherit from the AbstractRobot class. Extend the BodyPart class with a new body part, BodyPart.CHEST. Add a new body part to the implementation of the Attackable and Defensable interfaces (in the AbstractRobot class). Java Developer Android Studio Язык программирования Джава Андроид Студио Repeat after me, then delete and write the code from memory. Create a new task and write the program yourself Повтори за мной, затем удали и напиши код по памяти. Придумай новое задание и напиши программу самостоятельно Thank you for watching Спасибо за просмотр

Иконка канала Дикая Связь
10 подписчиков
12+
1 просмотр
8 дней назад
12+
1 просмотр
8 дней назад

Битва роботов: 3 уровень, 11 лекция Java Core Battle of robots: level 3, lesson 11 JavaRush Задание от JavaRush Битва роботов: 3 уровень, 11 лекция Java Core Затем измени код согласно новой архитектуре и добавь новую логику: Сделай класс AbstractRobot абстрактным, вынеси логику атаки и защиты из Robot в AbstractRobot. Отредактируй класс Robot, учитывая AbstractRobot. Класс Robot должен наследоваться от класса AbstractRobot. Расширь класс BodyPart новой частью тела BodyPart.CHEST("грудь"). Добавь новую часть тела в реализацию интерфейсов Attackable и Defensable (в классе AbstractRobot). The task from JavaRush Battle of robots: level 3, lesson 11 Java Core Then change the code to fit the new architecture and add new logic: Make the AbstractRobot class abstract, transfer the attack and defense logic from Robot to AbstractRobot. Edit the Robot class to reflect AbstractRobot. The Robot class must inherit from the AbstractRobot class. Extend the BodyPart class with a new body part, BodyPart.CHEST. Add a new body part to the implementation of the Attackable and Defensable interfaces (in the AbstractRobot class). Java Developer Android Studio Язык программирования Джава Андроид Студио Repeat after me, then delete and write the code from memory. Create a new task and write the program yourself Повтори за мной, затем удали и напиши код по памяти. Придумай новое задание и напиши программу самостоятельно Thank you for watching Спасибо за просмотр

, чтобы оставлять комментарии