Home / MCQ Bank / Computer
Computer Classes And Objects In Python Difficulty: Medium

What is the output of the following code: class Parent: def init(self): print('Parent constructor') class Child(Parent): def init(self): print('Child constructor') obj = Child()

Select the correct option to test your answer:

More Computer Questions

Which is the attribute used to enable the Client-side image map? What will be the output of the following C code? (If the name entered is: Shyam) #include<stdio.h> #include<string.h> typedef struct employee { char name[50]; int salary; } e1; void main( ) { printf("Enter Employee name"); scanf("%s",e1.name); printf("\n%s",e1.name); } What will be the output of the following C code? #include <stdio.h> struct point { int x; int y; }; struct notpoint { int x; int y; }; int main() { struct point p = {1}; struct notpoint p1 = p; printf("%d\n", p1.x); } A Processor Which of the following project is used for calling R products from web?