From 86e89a0607b3c7a91306b8d3acfcc8203632ede0 Mon Sep 17 00:00:00 2001 From: OleksandrDraha <79225501+OleksandrDraha@users.noreply.github.com> Date: Sat, 7 Jan 2023 15:01:51 +0200 Subject: [PATCH] Update oop.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like there is an inconsistency between examples of paragraphs ("инкапсуляция" and "наследование") as AbstractPhone class was not defined but was inherited by WirelessPhone class (and another following classes) with overriding of methods call() and ring() --- oop.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oop.md b/oop.md index cd803c1..5d01cd9 100644 --- a/oop.md +++ b/oop.md @@ -50,11 +50,11 @@ __Инкапсуляция__ – это свойство системы, поз Пример: ```java -public class SomePhone { +public class AbstractPhone { private int year; private String company; - public SomePhone(int year, String company) { + public AbstractPhone (int year, String company) { this.year = year; this.company = company; }