OOPS Interview Questions
Questions Answers Views Company eMail

20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?

IonIdea,

5 11531

in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C

IonIdea,

1 4838

monkey starts climbing up a tree 20ft tall,each hour ,it hops 3ft and slips back by 2ft .how much time it wil tak to reach top of the tree?

IonIdea,

13 40974

design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }

HSBC,

1 3767

design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }

1532

What are the valid types of data that the main () can return in C/C++ language

3 6432

Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2023

Child cObj = new Parent() Wahts the output ?

Patni, TCS,

8 16838

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

NIIT, SRA,

2086

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

SRA,

1971

write a program to find 2^n+1 ?

CTS,

1538

write a program to find 2 power of a 5digit number with out using big int and exponent ?

1881

what is the difference between ERROR and EXCEPTION?

NIIT, nvidia,

14 32184

what is pointers

Exilant,

7 8162

what is the main difference between sizeof() operator in c and c++

3 5865


Post New OOPS Questions

Un-Answered Questions { OOPS }

Why do while loop is used?

568


How do you achieve runtime polymorphism?

560


How is class defined?

571


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1133


What is oops and its features?

575






What is inheritance in simple words?

611


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1603


What is multilevel inheritance in oop?

544


What is the main feature of oop?

611


is there any choice in opting subjects like 4 out of 7

1721


Why is polymorphism needed?

581


What are oops methods?

558


What are the data types in oop?

596


What is overloading and its types?

604


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1643