Trace the following method given graduationYear = 2020 and currYear = 2020. What does nextReunion() return?

public int nextReunion() {

  int yearDiff = currYear - graduationYear;

  if (yearDiff <= 0)
    return currYear + (5 - yearDiff);
  else
    return currYear + (5 - (yearDiff % 5));
}
2025
  • 2020
  • 2021
  • 2026

There are no hints for this question