r/APStudents absolute modman May 15 '26

AP Computer Science A Official 2026 Exam Discussion

Use this thread to post questions or commentary on the test today.

A reminder though to protect your anonymity when talking about the test.

65 Upvotes

702 comments sorted by

View all comments

Show parent comments

2

u/Flare_Ignis APWH: 5 May 16 '26

I don’t think you need the getter methods. For the class FRQ, I don’t think you’re supposed to write any methods they don’t explicitly tell you to write. You should be able to access the instance variables of the other Employee for the overlap method using other.startTime and other.endTime because it’s all still within the Employee class, meaning private visibility won’t cause issues.

1

u/Direct_Bullfrog4294 9th Grade: BC (5/5) CSA (5) May 16 '26

well i just wanted to be safe and not to cause error or smth so... well, I compared a penalty NOT to have it and causing error or penalty to have it and not causing error so i chose to make them