| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| //what is wrong with the programme??
#include<iostream.h>
template <class first>
class dd
{
first i;
public:
void set();
void print();
};
void dd< first>:: set()
{
cin>>i;
}
void dd< first>::print()
{
cout<<"\n"<<i;
}
void main()
{
dd <char>g;
g.set();
g.print();
} | | 1 |
| what is virtual function? | Infosys | 11 |
| What is late bound function call and early bound function
call? Differentiate. | | 2 |
| What is a mixin class? | | 3 |
| In what situation factory design patterns,DAO design
patterns,singleton design patterns should be applied.?
| | 1 |
| What are generic functions and generic classes? | | 2 |
| In multilevel inheritance constructors will be executed
from the .... class to ... class | | 1 |
| What is the Advantage of Interface over the Inheritance in
OOPS? | | 2 |
| What is abstraction? | | 6 |
| What will happen when the following code is run:
int x;
while(x<100)
{
cout<<x;
x++;
}
1) The computer will output "0123...99"
2) The computer will output "0123...100"
3) The output is undefined
| | 3 |
| What is a linked list?
| IBM | 4 |
| Difference between realloc() and free? | HP | 3 |
| what is the basic concept of inheritance? | | 4 |
| Why u change company? | BOB-Technologies | 3 |
| Please tell me the oops concept with detailed answer | EEE | 4 |
| What is a template? | | 5 |
| Name an advantage of linked list over array? | IBM | 6 |
| sir i want to know which posting to apply since i am BE
CSE.. also want to know what are the rounds there for my
interview...Expecting for ur valuable answer.... | | 1 |
| What is virtual constructors/destructors? | | 3 |
| tell about copy constructor | Siemens | 1 |
| |
| For more OOPS Interview Questions Click Here |