PCAP • Practice Test 9
Free PCAP practice test — 10 questions with explanations. Set 9. No signup required.
A programmer uses a class method to create an alternative constructor for a `Point` class. The method should parse a string like "10,20" and return a `Point` instance with x=10, y=20. Which code snippet correctly implements this?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.