Interview MCQ Number 01008

Interview MCQ Set 1 1. What is the output of the following code ? class father: def __init__(self, param): self.o1 = param class child(father): def __init__(self, param): self.o2 = param >>>obj = child(22)>>>print “%d %d” % (obj.o1, obj.o2) a) None None b) None 22 c) 22 None d) Error is generated AnswerAnswer: d [Reason:] self.o1 was never…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership