| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the Advantage of Interface over the Inheritance in
OOPS? | | 2 |
| In multilevel inheritance constructors will be executed
from the .... class to ... class | | 1 |
| Given two strings like x=?hello? and y=?open?, remove any
character from string x which is also used in string y,
thus making the result x=?hll?.
| IBM | 8 |
| What do you mean by public, private, protected and friendly? | | 1 |
| Which is the parameter that is added to every non-static
member function when it is called? | | 3 |
| write a program in c++ to overload the function add (s1,s2)
where s1 and s2 are integers and floating point values. | | 1 |
| When will a constructor executed? | | 2 |
| How is data security provided in Object Oriented languages?
? | | 3 |
| What is polymorphism ? Explain with examples | Ness-Technologies | 6 |
| What is virtual class and friend class? | Intel | 2 |
| Why u change company? | BOB-Technologies | 3 |
| What is polymorphism? Explain with an example. | | 7 |
| What is the difference between declaration and definition? | | 6 |
| Can we have a private constructor ? | Ness-Technologies | 8 |
| what is the difference b/w abstract and interface? | Merrill-Lynch | 1 |
| 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 |
| is java purely oop Language?
| Infosys | 22 |
| In what situation factory design patterns,DAO design
patterns,singleton design patterns should be applied.?
| | 1 |
| What is Dynamic Polymorphism? | | 6 |
| WHAT IS ABSTRUCT DATA TYPE ?
PLEASE EXPLAIN IT. | HCL | 1 |
| |
| For more OOPS Interview Questions Click Here |