PdfPrep.com

Which of the invocations should be used instead of XXX?

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

Exit mobile version