| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Tell us about yourself.
| IBM | 14 |
| What is command routing in MFC | GE | 1 |
| WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT
from an NIIT CENTRE?? | Biocon | 1 |
| What is an orthogonal base class? | | 1 |
| what is difference b/w object based and object oriented
programming language? | Infosys | 2 |
| suppose A is a base class and B is the derved class. Both
have a method foo which is defined as a virtual method in
the base class. You have a pointer of classs B and you
typecast it to A. Now when you call pointer->foo, which
method gets called?
The next part of the question is, how does the compiler
know which method to call? | EA-Electronic-Arts | 2 |
| Why a "operator=(...)" when there is a copy ctor? | | 2 |
| What is a scope resolution operator? | HP | 4 |
| 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 |
| all about pointers | | 2 |
| Definition of Object Oriented Programming in single line? | TCS | 14 |
| Does c++ support multilevel and multiple inheritance? | Wipro | 5 |
| What is Dynamic Polymorphism? | | 6 |
| Which is the only operator in C++ which can be overloaded
but NOT inherited? | | 3 |
| We have a scale and 7 balls. 1 ball is heavier than all the
rest. How to determine the heaviest ball with only 3
possible weighing attempts?
| IBM | 3 |
| what is the function of 'this' operator ? | | 4 |
| When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory?? | Honeywell | 12 |
| What is virtual class and friend class? | Intel | 2 |
| Can we have a private constructor ? | Ness-Technologies | 8 |
| What is OOPS and How it is different from Procedural
Programming ? | HP | 10 |
| |
| For more OOPS Interview Questions Click Here |