OOPS Interview Questions
Questions Answers Views Company eMail

Explain polymorphism? What r the types of polymorphism? pls give examples?

HCL,

4 14909

swapping program does not use third variable

TCS,

5 6766

how to find no of instances of an object in .NET?

Infosys,

1 4665

How Do you Code Composition and Aggregation in C++ ?

IBM, NET,

3 24196

Please tell me the oops concept with detailed answer

EEE,

9 14899

how to swap to variables without using thrid variable in java?

5 6517

what is the usage of clas templates

5 5794

Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?

5 18108

i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.

Syntel,

1 4046

can you explain how to use JavaBean in Project

Infosys, Satyam,

3 5225

write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

Microsoft, TCS,

1780

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1640

sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 3375

what is virtual destructor

L&T, TCS,

7 10615

Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.

2 5100


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is abstraction with example?

605


What is overloading in oop?

575


what are the ways in which a constructors can be called?

1581


What is pointer in oop?

535


What is the diamond problem in inheritance?

577






Why is object oriented programming so hard?

616


Why do while loop is used?

575


Explain the advantages of inheritance.

673


How to hide the base class functionality in Inheritance?

638


Can destructor be overloaded?

597


What is encapsulation with example?

578


Is react oop?

609


What is the highest level of cohesion?

579


What are the 5 oop principles?

601


What is the oops and benefits of oops programming?

553