Category Archives: OOPS Interview Questions

Name the different Creational patterns in OO design?

There are three patterns of design out of which Creational patterns play an important role the various patterns described underneath this are: – 1) Factory pattern 2) Single ton pattern 3) Prototype pattern 4) Abstract factory pattern 5) Builder pattern

Posted in OOPS Interview Questions | Leave a comment

Explain the usage of encapsulation? | OOPS Questions

Encapsulation specifies the different classes which can use the members of an object. The main goal of encapsulation is to provide an interface to clients which decrease the dependency on those features and parts which are likely to change in … Continue reading

Posted in OOPS Interview Questions | Leave a comment

Explain about a class in OOP? | OOPS Questions

In Object oriented programming usage of class often occurs. A class defines the characteristics of an object and its behaviors. This defines the nature and functioning of a specified object to which it is assigned. Code for a class should … Continue reading

Posted in OOPS Interview Questions | Leave a comment

Explain about the relationship between object oriented programming and databases? | OOPS Questions

Object oriented programming and relational database programming are almost similar in software engineering. RDBMS will not store objects directly and that’s where object oriented programming comes into play. Object relational mapping is one such solution.

Posted in OOPS Interview Questions | Leave a comment

Explain about inheritance in OOPS? | OOPS Questions

Objects in one class can acquire properties of the objects in other classes by way of inheritance. Reusability which is a major factor is provided in object oriented programming which adds features to a class without modifying it. New class … Continue reading

Posted in OOPS Interview Questions | Leave a comment

State some of the advantages of object oriented programming? | OOPS Questions

Some of the advantages of object oriented programming are as follows: – 1) A clear modular structure can be obtained which can be used as a prototype and it will not reveal the mechanism behind the design. It does have … Continue reading

Posted in OOPS Interview Questions | Leave a comment

What are the problems faced by the developer using object oriented programming language? | OOPS Questions

These are some of the problems faced by the developer using object oriented language they are: – 1) Object oriented uses design patterns which can be referred to as anything in general. 2) Repeatable solution to a problem can cause … Continue reading

Posted in OOPS Interview Questions | Leave a comment

State about Java and its relation to Object oriented programming? | OOPS Questions

Java is widely used and its share is increasing considerably which is partly due to its close resemblance to object oriented languages such as C and C++. Code written in Java can be transported to many different platforms without changing … Continue reading

Posted in OOPS Interview Questions | Leave a comment

Explain about message passing in object oriented programming? | OOPS Questions

Message passing is a method by which an object sends data to another object or requests other object to invoke method. This is also known as interfacing. It acts like a messenger from one object to other object to convey … Continue reading

Posted in OOPS Interview Questions | Leave a comment

Explain the meaning of object in object oriented programming? | OOPS Questions

Languages which are called as object oriented almost implement everything in them as objects such as punctuations, characters, prototypes, classes, modules, blocks, etc. They were designed to facilitate and implement object oriented methods.

Posted in OOPS Interview Questions | Leave a comment