Skip to content

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

Open
Extro21 wants to merge 1 commit intomainfrom
calc_dz
Open

Сдача ДЗ Калькулятор#1
Extro21 wants to merge 1 commit intomainfrom
calc_dz

Conversation

@Extro21
Copy link
Copy Markdown
Owner

@Extro21 Extro21 commented Jan 9, 2023

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


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