| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is multithreading in c++ ,
what is difference between multithreading and
singlethreading.
| | 3 |
| write a program in c++ to overload the function add (s1,s2)
where s1 and s2 are integers and floating point values. | | 1 |
| tell about copy constructor | Siemens | 3 |
| for example A,B,C,D are class all the 4 class contain one
method who() but the method who() implementaion is differnet
among each class. the relation among the 4 class are
A is base class and is inherited by B and C.and from this
two B and C where D is inherited.
the question is i want to display the output who() method in
all the classes(A,B,C,D)the output of who() method is
diferrent amond all the class(A,B,C,D)
------A------ virtuval who(print a)
override | |
who(print b) B C override who(print c)
| |
-------D------ override who(print d) | | 2 |
| should we use linear search or binary search if elements
are placed in random order or mixed?in both cases? i need a
little bit detail ans?thnks | | 2 |
| What is extreme programming? | | 2 |
| What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
| | 5 |
| What is Iteration Hierarchy?
What is what is Object behavioral concept?
| | 1 |
| what is the difference between virtual function and
destoctor? | | 1 |
| Why do we use virtual functions? | | 3 |
| What is the difference between declaration and definition? | | 13 |
| what is the virtual function overhead, and what is it used
for ? i hope i can get and appropriate answers, thanks a lot.... | | 6 |
| Write 7 differences between "Public" function and
"Private" function? | IBM | 2 |
| can we create and enter the data & hide files using
programmes ? | Wipro | 1 |
| Difference between over loading and over ridding?
| CTS | 11 |
| Write a program to get the binary tree. | ABC | 1 |
| how to swap to variables without using thrid variable in java? | | 5 |
| write a c++ program to find maximum of two numbers using
inline functions. | | 2 |
| what is an instance of a class | | 5 |
| Difference between realloc() and free? | HP | 4 |
| |
| For more OOPS Interview Questions Click Here |