0% found this document useful (0 votes)
35 views8 pages

PROCEdural Programming - Mora&Hubo

The document discusses object-oriented programming concepts including objects, classes, inheritance, and polymorphism. Objects contain data fields and classes define objects. Inheritance allows code reusability by cloning classes and modifying them. Polymorphism defines generic commands implemented by related classes.

Uploaded by

Joswe Baguio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views8 pages

PROCEdural Programming - Mora&Hubo

The document discusses object-oriented programming concepts including objects, classes, inheritance, and polymorphism. Objects contain data fields and classes define objects. Inheritance allows code reusability by cloning classes and modifying them. Polymorphism defines generic commands implemented by related classes.

Uploaded by

Joswe Baguio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

PROCESSOR PROGRAMMING

OOP
Is a software programming model
constructed around object. This
model compartmentalized data into
objects data fields.
Object

Class

Characteristic Inheritance

of OOP
Polymorphism
OBJECTS
A natural thing
"Any object can be identified, classified and defined.

Ex. Dog, Desk, Television set, Bicycle.

-Each object has a set of attributes that describe it.

Ex. Desk can be describe in terms of its weight


color and material it is made of.
CLASS
Each Individual objecr in a class is called an instance of
that class.

Can be created by defining all the data and associated


methods for a given set of object.

Class has Hierachical structure


-Superclass vs. subclass

-Every class vs. derived from a superclass


-classkeyword-identifier, name of class
Inheritance provides the
INHERITANCE benefits of code reusability

Take the existing class,


clone it and then make
additions and moditification
to the clone.
Polymorphism Greek word
"multiple and shape"

Define a generic command


which is implemented by a
number of related classes.
THANK YOU

You might also like