OOP's concepts in C++

Ratings:
(4)
Views:1012
Banner-Img
  • Share this blog:

Object Oriented Programming

A programming language which supports

Encapsulation

Polymorphism

Inheritance

class

object

Abstraction

Name some pure object oriented languages

small talk

Java

Eiffel

Sather

C++ is a partial object oriented programming language not pure.

why it is not pure object oriented language. because C++, can write a program in c++ without using opps.

 

Encapsulation

It is a process of binding data with instructions which operates data into single entity.

It is a process of grouping data and instructions

Advantages

Data hiding

Binding

 

Object based programming languages

The programming language which allows to use existing objects but does not allow to build classes is called object based programming language. eg : vbscript, Java script  

Class based programming languages

A programming language allows to build classes object but does not support inheritance and polymorphism is called class based programming languages. eg : Visual basic 4.0  

Programming elements are 2 types

Data

Instructions

 

Advantage of OOP'S

object oriented programming

modularity

Reusability

Readability

Extensibility

Security

efficiency

Binding data with instructions or related operations is called encapsulation

 

What is data hiding ?

Preventing data access from unrelated operation Adv : Which allows to develop secured applications  

 What is Binding ?

Linking data with related operations

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox