/
anton.buldygin
/
Contacts_Java
Обзор
Документация
Войти
/
anton.buldygin
/
Contacts_Java
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Contacts (Java)/First contact/task.html
17 строк
1 KB
AntonBuldygin
Initial commit
19 дек 2023, 15:38
19 дек 2023, 15:38
bed9366
Код
Авторство
О чём код?
<div class="step-text"> <h5 id="description" style="text-align: center;">Description</h5> <p>Contacts is a handy app to have. It stores all of your saved contacts. In this project, you will write one yourself. It teaches you to understand and implement the basic principles of OOP.</p> <p>In the first stage, you should write a program that creates an instance of a class that stores information about one record in the Contacts. One record should contain a name, a surname, and a phone number. You can type them from the keyboard.</p> <p>You should also create a class representing this app. For now, it should store only one record: a record that you created from the input.</p> <h5 id="example" style="text-align: center;">Example</h5> <p>Below is an example of how your output might look. Lines that start with <code class="java">> </code> represent the user input.</p> <pre><code class="language-no-highlight">Enter the name of the person: > John Enter the surname of the person: > Smith Enter the number: > 1-234-567-890 A record created! A Phone Book with a single record created!</code></pre> </div>