| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write a program for function overloading? | | 4 |
| what is virtual destructor | TCS | 5 |
| What is a template? | | 5 |
| What is a scope resolution operator? | HP | 4 |
| What is the difference between declaration and definition? | | 6 |
| to remove the repeated numbers from the given .
i.e..,
if the input is 12233
output should of
123
| | 1 |
| What is the difference between const int *ptr and int const
*ptr??? | | 2 |
| how to create thread in java? | Infosys | 10 |
| In which Scenario you will go for Interface or Abstract Class? | | 1 |
| What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
| | 5 |
| if u write a class do u write Assignment operator and copy
constructor | Siemens | 1 |
| swapping program does not use third variable | | 4 |
| 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 |
| Explain polymorphism? What r the types of polymorphism?
pls give examples? | HCL | 2 |
| how can we design a magic square in c++?or suggest me the
basic idea of it. | | 1 |
| What are the advantanges of modularity | | 2 |
| 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 |
| When is an object created and what is its lifetime? | IBM | 1 |
| features of OOPS | Ness-Technologies | 5 |
| i ahve v low % in 12th n BSC which is aroun 50 coz science
was imposed on me......nw m doin MCA n my aggregate in
above 74%,what shud i say if asked about low previous
percentage?????? | | 3 |
| |
| For more OOPS Interview Questions Click Here |