| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
| | 5 |
| How would you stop a class from class from being derived or
inherited. | Ness-Technologies | 7 |
| features of OOPS | Ness-Technologies | 5 |
| what is a ststic variable and stiticfunction
briefly explain with exmple and in which case we use | HCL | 1 |
| What is an orthogonal base class? | | 1 |
| what is the usage of clas templates | | 5 |
| What is the difference between const int *ptr and int const
*ptr??? | | 2 |
| Which is faster post increment or pre increment ? and in
which cases should u use either - to increase speed? | EA-Electronic-Arts | 2 |
| Base class has two public data members. How can i derive a
new class with one datamember as public and another data
member as private?. | | 2 |
| what is the difference b/w abstract and interface? | Merrill-Lynch | 1 |
| What is public, protected, private? | Satyam | 4 |
| What is multiple inheritance ? | Ness-Technologies | 8 |
| what is the main difference between c and c++? | Microsoft | 27 |
| What is namespace? | | 6 |
| what are the disadvantages of C++? | ATS | 4 |
| what is new modifier in C# | HCL | 6 |
| Can we have a private constructor ? | Ness-Technologies | 8 |
| What do you mean by public, private, protected and friendly? | | 1 |
| What is a scope resolution operator? | HP | 4 |
| Difference between new operator and operator new | | 2 |
| |
| For more OOPS Interview Questions Click Here |