| Other OOPS Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Why u change company? | BOB-Technologies | 3 |
| what is the use of mutable key word | HCL | 2 |
| What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
| TCS | 10 |
| 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 |
| Tell me the scenario,Where we can use interfaces or
Abstract class.And What is the difference between
interfaces and abstract class? | | 3 |
| What is virtual class and friend class? | Intel | 2 |
| What is Method overloading? | | 4 |
| what is the function of 'this' operator ? | | 4 |
| What do you mean by public, private, protected and friendly? | | 1 |
| What is the difference between XML Web Services using ASMX
and .NET Remoting using SOAP? | | 1 |
| What are the advantanges of modularity | | 2 |
| what is meant by files? | Infosys | 2 |
| What is multiple inheritance ? | Ness-Technologies | 8 |
| What will happen when the following code is run:
int x;
while(x<100)
{
cout<<x;
x++;
}
1) The computer will output "0123...99"
2) The computer will output "0123...100"
3) The output is undefined
| | 3 |
| features of OOPS | Ness-Technologies | 5 |
| pointers are support in C#? if yes then how to use it? | Softvision-Solution | 5 |
| what is a virtual class? | Cap-Gemini | 1 |
| What is the difference between pass by reference and pass by
value? | TCS | 6 |
| different types of castings | Siemens | 3 |
| What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
| | 4 |
| |
| For more OOPS Interview Questions Click Here |