• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

OOP’s concepts in C++

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

Summary
Review Date
Reviewed Item
OOP's concepts in C++
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on OOP's concepts in C++"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.