Skip to content

Сдача ДЗ Калькулятор - #1

Open
Extro21 wants to merge 1 commit into
mainfrom
calc_dz
Open

Extro21 wants to merge 1 commit into
mainfrom
calc_dz

Conversation

@Extro21

@Extro21 Extro21 commented Jan 9, 2023

Copy link
Copy Markdown
Owner

Сдача дз Калькулятор

Comment thread src/main/java/Person.java

private static final Scanner scanner = new Scanner(System.in);
private static final ArrayList<String> persons = new ArrayList<>();
private static final Calculate calculate = new Calculate();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Некритично, но можно поля и методы Calculate тоже сделать static, чтобы не пришлось создавать единственный экземпляр

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

Successfully merging this pull request may close these issues.

2 participants