Exam PCAP All QuestionsBrowse all questions from this exam
Question 130

Which of the following lines of code will work flawlessly when out independently inside the inc() method in order to make the snippet's output equal to 3?

(Choose two.)

    Correct Answer: C, D

    CD

Discussion
macxszOptions: CD

C. self.put(self.get() + val) D. self.put(self.prop + val)

CC_DC

Missing the dot between MyClass and Var. Yuckity, yuck, yuck!