What is this interview room ?
Is it a class or an object.

Answer Posted / jenish

Interview is specific about this interview room. and It should be classified as object. Class does provide template where as object is actual data appropriate for that template and that interview room is itself object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the important feature of inheritance?

631


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1891


How long to learn object oriented programming?

561


Which language is not a true object oriented programming language?

640


What is the difference between encapsulation and polymorphism?

592






What are the benefits of oop?

604


What is oops in simple words?

577


What is encapsulation and abstraction? How are they implemented in C++?

632


#include #include #include #include void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.

3246


What are the types of abstraction?

553


What are the 3 principles of oop?

616


How many human genes are polymorphic?

570


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1979


Why is object oriented programming so hard?

612


What is abstraction in oops with example?

770