| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 do you mean by public, private, protected and friendly? | | 1 |
| When is a memory allocated to a class? | | 3 |
| why c++ is called OOPS?
waht is inherutance?
what is compiler?
| | 2 |
| what is the use of mutable key word | HCL | 2 |
| if u write a class do u write Assignment operator and copy
constructor | Siemens | 1 |
| What is a template? | | 5 |
| What is public, protected, private? | Satyam | 4 |
| Describe the difference between a Thread and a Process? | | 6 |
| Name an advantage of linked list over array? | IBM | 6 |
| what is a virtual class? | Cap-Gemini | 1 |
| write a c++ program to find maximum of two numbers using
inline functions. | | 1 |
| WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
| | 3 |
| Which is the parameter that is added to every non-static
member function when it is called? | | 3 |
| Why do we use virtual functions? | | 3 |
| What is late bound function call and early bound function
call? Differentiate. | | 2 |
| What is OOPS and How it is different from Procedural
Programming ? | HP | 10 |
| In which Scenario you will go for Interface or Abstract Class? | | 1 |
| how to swap to variables without using thrid variable in java? | | 3 |
| What is command routing in MFC | GE | 1 |
| |
| For more OOPS Interview Questions Click Here |