| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Why and when is a virtual destructor needed? | | 2 |
| Explain polymorphism? What r the types of polymorphism?
pls give examples? | HCL | 2 |
| 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 difference between pass by reference and pass by
value? | TCS | 6 |
| When is it necessary to use member-wise initialization
list in C++? | | 1 |
| Definition of Object Oriented Programming in single line? | TCS | 14 |
| What is multiple inheritance ? | Ness-Technologies | 8 |
| what is object slicing?
| Wipro | 4 |
| Describe the difference between a Thread and a Process? | | 6 |
| How is data security provided in Object Oriented languages?
? | | 3 |
| what is virtual function in c++ | | 4 |
| What are the advantanges of modularity | | 2 |
| What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
| TCS | 10 |
| What are virtual functions? | | 2 |
| Can we call a base class method without creating instance? | | 4 |
| how to swap to variables without using thrid variable in java? | | 3 |
| How Do you Code Composition and Aggregation in C++ ? | IBM | 1 |
| What is the differances between a abstract calss and
interface | Aviva | 2 |
| What is Dynamic Polymorphism? | | 6 |
| What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them. | | 2 |
| |
| For more OOPS Interview Questions Click Here |