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.)
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.)
CD
C. self.put(self.get() + val) D. self.put(self.prop + val)
Missing the dot between MyClass and Var. Yuckity, yuck, yuck!