Why C++ is called oop's? - PowerPoint PPT Presentation

About This Presentation
Title:

Why C++ is called oop's?

Description:

C++ is called object oriented programming (OOP) language because C++ language views a problem in terms of objects involved rather than the procedure for doing it. – PowerPoint PPT presentation

Number of Views:131

less

Transcript and Presenter's Notes

Title: Why C++ is called oop's?


1
  • C(Programming language)
  • psk Technologies
  • BY- SHWETA DODKE
  • Psk technologies pvt. Ltd it company
  • Email info_at_psktechnologies.co.in
  • Website https//www.pskitservices.com/

2
HISTORY OF C
  • In the early 1980s Bijarne Stroustrup who was
    working for Bell labs develops c.
  • C was originally known as C with classes as two
    language contributed to int design.
  • C is a subset of c as it is an Object Oriented
    Programming./

https//www.pskitservices.com/
3
OOPS CONCEPT
  • C is based on OOPS concept. OOPS means Object
    Oriented Programming. In this concept problem is
    looked in term of objects rather than procedure.
    All object oriented programming language has to
    the following concept in common.
  • Abstraction
  • Encapsulation
  • Polymorphism
  • Inheritance

https//www.pskitservices.com/
4
ABSTRACTION
  • Abstraction is a feature in which only essential
    details of the object are shown and non-essential
    details are ignored. Consider the example of a
    car in a car the accelerator pedal steering wheel
    and the break pedal are same of the main details
    essential for driver so these essential details
    are shown to the driver.This feature simply means
    looking for what you want.

https//www.pskitservices.com/
5
ENCAPULATION
  • Encapsulation is a feature of hiding the
    complexity at the data. Consider the example of a
    car to stop the car we just apply the break and
    we dont need the mechanism of breaking system
    .The mechanism behind breaking is encapsulated
    this features hides the implementations details
    of an object and hence also called as data
    hiding.

https//www.pskitservices.com/
6
POLYMORPHISM
  • The term polymorphism has been derived from
    Greek words ploy and morphism which means
    many and form respectively.

https//www.pskitservices.com/
7
INHERITANCE
  • Inheritances is features of creating a new class
    with the properties of an existing class with the
    properties of an existing class along with some
    additional characteristics .Unique to the new
    class for example. You inheritances some
    characteristics like your appearance language and
    certain behavior from your parents and also you
    have some additional unique characteristics this
    features is called inheritances. inheritances
    thus allows responsibility of the code in C.

https//www.pskitservices.com/
8
INPUT OUTPUT STATEMENT
  • Input output standards for i/o the process of
    sending the data to the computer is called as i/o
    and the process of display the data is called as
    output theltlt than and gtgt symbols used in the
    program are called cascading operators these are
    predefined opertors that are used for output and
    input.
  • Cin with gtgtsymbol?for getting input from the
    user.
  • Cout with ltlt symbol ?to display the output.
  •  gtgt?extraction operation get to.
  • ltlt?insertion operation put to.

https//www.pskitservices.com/
9
Consider this program //sample
program// includeltiostream.hgt Void main() Int
number Coutltltenter the number Cingtgtnumber
https//www.pskitservices.com/
10
C HAVING FOLLOWING KEYWORDS
Asm Catch Float Long Return
Auto Default Friend Overload Short
Break Do For New Sizeof
Case Delete Goto If Singed
Static Union Class Inline Else
Assigned Const Extern Opertors Protected
Continue Enum Integrin Register Template
This Char Void Try Type defn
Throw Double valuable public switch
Try While private struct virtual
https//www.pskitservices.com/
11
CLASS
  • A class is a similar to a structure data type
    but it consist of not only data elements but also
    function which are operated on data elements a
    class is a way to bind data and its function
    together.
  • SYNTAX
  • Class userdefined_name
  • Private
  • Data_type member
  • Public
  • Data_type member
  • Member function
  • The body a class is enclosed.
  •  

https//www.pskitservices.com/
12
PSK Technologies Pvt. Ltd. IT Company
  • Our Services

WEBsITE DESIGNING Development
Digital Marketing
IT Training
Computer sales and services
https//www.pskitservices.com/
13
  • Psk technologies Pvt. Ltd.
  • THANK YOU
  • Follow us on
  • PSK Technologies Pvt. Ltd. AddressPlot No-780,
    Near Durga Temple, Katol Road Chaoni, Nagpur-13
  • Call9975288300 

     
Write a Comment
User Comments (0)
About PowerShow.com