PCAP • Practice Test 24
Free PCAP practice test — 15 questions with explanations. Set 24. No signup required.
A developer is designing a class hierarchy for a library system. They want to ensure that a method 'borrow' in the base class 'Item' can be overridden by subclasses like 'Book' and 'DVD', but the base implementation should not be callable directly. Which approach best achieves this?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.