| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is an instance of a class | | 2 |
| how to swap to variables without using thrid variable in java? | | 3 |
| What is the difference between pass by reference and pass by
value? | TCS | 6 |
| 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 is Iteration Hierarchy?
What is what is Object behavioral concept?
| | 1 |
| what is the need of abstraction? what is abstraction?what
is the abstraction for stack? | Verizon | 5 |
| What is function overloading and operator overloading? | | 2 |
| Tell us about yourself.
| IBM | 14 |
| What are virtual functions? | | 2 |
| What do you mean by pure virtual functions? | | 4 |
| can you explain how to use JavaBean in Project | Infosys | 1 |
| //what is wrong with the programme??
#include<iostream.h>
template <class first>
class dd
{
first i;
public:
void set();
void print();
};
void dd< first>:: set()
{
cin>>i;
}
void dd< first>::print()
{
cout<<"\n"<<i;
}
void main()
{
dd <char>g;
g.set();
g.print();
} | | 1 |
| Which is the parameter that is added to every non-static
member function when it is called? | | 3 |
| features of OOPS | Ness-Technologies | 5 |
| What is the difference between declaration and definition? | | 6 |
| Difference between over loading and over ridding?
| CTS | 10 |
| What is polymorphism? Explain with an example. | | 7 |
| What is Method overloading? | | 4 |
| What do you mean by public, private, protected and friendly? | | 1 |
| who is the founder of c++? | | 1 |
| |
| For more OOPS Interview Questions Click Here |