OOPS Interview Questions
Questions Answers Views Company eMail

What is OOPS and How it is different from Procedural Programming ?

Infosys, HP, Thyrocare,

23 46654

what is meant by files?


4 4754

is java purely oop Language?

HCL, Infosys, TCS,

49 23336

What is Object and Class? What are the differences between them?

5 5061

What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

L&T, Accenture,

4 11038

What is Method overloading?

5 4543

Can we call a base class method without creating instance?

5 10367

In which cases you use override and new base?

2 4233

You have one base class virtual function how will call that function from derived class?

4 4611

In which Scenario you will go for Interface or Abstract Class?

1 7269

polymorphism means?


6 7241

Describe the difference between a Thread and a Process?

10 22051

Describe what an Interface is and how it?s different from a Class.


7 15233

What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

1 5447

Post New OOPS Questions

Un-Answered Questions { OOPS }

write a program to find 2^n+1 ?


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)


hi all..i want to know oops concepts clearly can any1 explain??


#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.


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.


Why is it so that we can have virtual constructors but we cannot have virtual destructors?


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).


is there any choice in opting subjects like 4 out of 7


Get me an image implementation program.


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?


C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.


How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<


write a C++ program for booking using constructor and destructor.


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.