Posted by: Pdfprep
Post Date: November 19, 2020
The following class definition is given. We want the show () method to invoke the get () method, and then output the value the get () method returns.
Which of the invocations should be used instead of XXX?
A . print (get(self))
B . print (self.get())
C . print (get())
D . print (self.get (val))
Answer: A
Leave a Reply