| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how do u initialize the constant variables | Siemens | 4 |
| What do you mean by inline function? | | 1 |
| what is the use of mutable key word | HCL | 2 |
| What is namespace? | | 6 |
| features of OOPS | Ness-Technologies | 5 |
| what is the function of 'this' operator ? | | 5 |
| what is the need of abstraction? what is abstraction?what
is the abstraction for stack? | Verizon | 5 |
| what is a ststic variable and stiticfunction
briefly explain with exmple and in which case we use | HCL | 1 |
| What is virtual constructors/destructors? | | 3 |
| What is the output of the following code:
int v()
{
int m=0;
return m++;
}
int main()
{
cout<<v();
}
1) 1
2) 0
3) Code cannot compile
| | 3 |
| When is an object created and what is its lifetime? | IBM | 1 |
| write a program in c++ to overload the function add (s1,s2)
where s1 and s2 are integers and floating point values. | | 1 |
| polymorphism means? | BFL | 2 |
| What is a scope resolution operator? | HP | 4 |
| Why do we use virtual functions? | | 3 |
| how to create thread in java? | Infosys | 10 |
| pointers are support in C#? if yes then how to use it? | Softvision-Solution | 5 |
| How is exception handling carried out in c++? | | 1 |
| what is the main difference between c and c++? | Microsoft | 27 |
| In what situation factory design patterns,DAO design
patterns,singleton design patterns should be applied.?
| | 1 |
| |
| For more OOPS Interview Questions Click Here |