Skip to content

Conversation

@ALexe225
Copy link
Owner

@ALexe225 ALexe225 commented Jul 8, 2024

В прошлый раз случайно скинул ссылку на сам проект, а не на PR. Исправил.


class Race {
String leader = "";
int leaderDistace = 0;

Choose a reason for hiding this comment

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

если поля класса используются только в нём, то их лучше сделать private

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.

3 participants