Explain the properties and principles of OOP.

devquora
devquora

Posted On: Feb 22, 2018

 

Abstraction is the process of providing only essential information regarding the standard features of objects and procedures while hiding the details from the user.

The class is a category of objects, which defines all the common properties of the various objects that belong to it.

Encapsulation is the process of combining or wrapping up of data or elements to create a single, new entity.

Information hiding is the process of hiding details of an object or function for reducing complexity.

Inheritance is a feature that represents the “is-a” relationship between the various classes.

The interface is the set of languages and codes that the applications or programs use to communicate with each other as well as with the hardware.

Messaging or message passing is a kind of communication used in parallel programming and OOP.

The object is a self-contained entity, which consists of both data and procedures employed to manipulate the data.

Polymorphism is a programming language’s ability to process objects differently depending on their data type or class.

The procedure is merely a section of a program that performs a specific task.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    C++ Interview Questions

    Explain what is OOP?

    Object-oriented programming (OOP) is a type of computer programming, also more commonly known as software design, in wh..

    C++ Interview Questions

    What is the difference between #import and #include in C++?

    The statement #include is used in C++ to include the source file or import the header files containing definitions of f..

    C++ Interview Questions

    What is ‘this’ pointer?

    The ‘this’ pointer is passed as a hidden argument to all the non-static member method calls and is available as a l..