| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is polymorphism? Explain with an example. | | 7 |
| Name an advantage of array over linked list?
| IBM | 12 |
| how to swap to variables without using thrid variable in java? | | 3 |
| What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them. | | 2 |
| What is the difference between XML Web Services using ASMX
and .NET Remoting using SOAP? | | 1 |
| When will a constructor executed? | | 2 |
| what is the function of 'this' operator ? | | 4 |
| how do u initialize the constant variables | Siemens | 4 |
| write a c++ program to find maximum of two numbers using
inline functions. | | 1 |
| 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 |
| Can we call a base class method without creating instance? | | 4 |
| Which is the parameter that is added to every non-static
member function when it is called? | | 3 |
| tell about copy constructor | Siemens | 1 |
| can you explain how to use JavaBean in Project | Infosys | 1 |
| When is it necessary to use member-wise initialization
list in C++? | | 1 |
| What are the main differences between procedure oriented
languages and object oriented languages? | | 4 |
| What is abstraction? | | 6 |
| What is a template? | | 5 |
| How is the using() pattern useful? What is IDisposable? How
does it support deterministic finalization?
| IntraLogic | 1 |
| What is public, protected, private? | Satyam | 4 |
| |
| For more OOPS Interview Questions Click Here |