class test: def __init__(self,a): self.a=a   def display(self): print(self.a) obj=test() obj.display()



What will be the output of the following Python code? , 1) Runs normally, doesn’t display anything,2) Displays 0, which is the automatic default value, 3) Error as one argument is required while creating the object, 4) Error as display function requires additional argument, "> class test: def __init__(self,a): self.a=a   def display(self): print(self.a) obj=test() obj.display()



What will be the output of the following Python code? "/> class test: def __init__(self,a): self.a=a   def display(self): print(self.a) obj=test() obj.display()



What will be the output of the following Python code? , Runs normally, doesn’t display anything, Displays 0, which is the automatic default value, Error as one argument is required while creating the object, Error as display function requires additional argument, "/>
Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing