Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AM02 Book - easy #625

Open
edshamr opened this issue Oct 5, 2024 · 0 comments
Open

AM02 Book - easy #625

edshamr opened this issue Oct 5, 2024 · 0 comments

Comments

@edshamr
Copy link

edshamr commented Oct 5, 2024

Создай класс Book, который будет иметь следующие поля:

Название книги (title),
Автор книги (author),
Количество страниц (pages).
Напиши конструктор для инициализации этих полей и методы:

getShortInfo(), который возвращает краткую информацию о книге (название и автор),
isThickBook(), который возвращает true, если количество страниц больше 500, иначе false.

@edshamr edshamr changed the title #5 #2 Oct 5, 2024
@edshamr edshamr changed the title #2 #2 - easy Oct 5, 2024
@edshamr edshamr changed the title #2 - easy Book - easy Oct 5, 2024
@edshamr edshamr changed the title Book - easy AM02 Book - easy Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant