Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Yandex-Practicum/Java-Module-Project-YP
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: victo-zabel/JavaFirstPractic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Aug 14, 2026

  1. Выполнение задания:

    - Созданы 2 дополнительных класса Car, Race
    - Race содержит метод рассчета лидера гонки
    - Car содержит атрибуты и конструктор для класса
    - Main получает значения от пользователя и выводит победителя гонки
    - Есть проверка следующих некорректных значений: больше 0 и меньше или равно 250, пустая строка или нет, проверка число это или нет
    victo-zabel committed Aug 14, 2026
    Configuration menu
    Copy the full SHA
    791b3df View commit details
    Browse the repository at this point in the history
  2. Внесенные изменения:

    - Убраны бесконечные циклы
    - Созданы отдельные методы под получение имени и скорости
    - Созданы переменные минимальной и максимальной скоростей
    - Изменен класс Car. Атрибуты теперь final
    victo-zabel committed Aug 14, 2026
    Configuration menu
    Copy the full SHA
    8afee23 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    victo-zabel authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    168698b View commit details
    Browse the repository at this point in the history
Loading