0% found this document useful (0 votes)
61 views25 pages

OOPROGR - Module 4 S1

The document discusses object-oriented programming concepts including objects and classes, abstraction, inheritance, encapsulation, and polymorphism. It explains the differences between procedural and object-oriented programming, and compares classes to objects.

Uploaded by

ROMMEL DORIN
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)
61 views25 pages

OOPROGR - Module 4 S1

The document discusses object-oriented programming concepts including objects and classes, abstraction, inheritance, encapsulation, and polymorphism. It explains the differences between procedural and object-oriented programming, and compares classes to objects.

Uploaded by

ROMMEL DORIN
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/ 25

OBJECT

ORIENTED
LANGUAGE
Prof. EDGARDO T. CRUZ

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


Intended Learning Outcomes:
At the end of the topic session, the students should be
able to:
1. Identify the approaches in writing computer
programs;
2. Explain what is Object-Oriented Programming; and
3. Apply each concept of Object-Oriented
Programming.

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


CONCEPT OF OOP
PROGRAMMING MODEL
 Procedural Programming
 is a technique of solving a problem and breaking
it down into smaller parts and solving each of the
smaller problems.
 this model of software development is process-
centric or procedural since it concentrates on the
procedures in a system.

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


 Object-Oriented Programming
 It describes the task to be performed on objects.
These objects that have to be created and stored in
the computer memory, contain data and instructions
to perform tasks specific to that object.
 It uses a collection of objects interacting with each
other.
One of the principal advantages of using OOP
technique is that it enables programmers to
create modules that need not be changed
when a new type of object is added.

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


Key OOP Concepts
 Objects and Classes
 Abstraction
 Inheritance
 Encapsulation
 Polymorphism

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
Comparing Classes to Objects
Class Object
 A class is a template  An object is a
or blueprint that running instance of a
defines an object’s class that consumes
attributes and memory and has a
operations and that is finite lifespan
created at design
time

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


Class (Car)

Mitsubishi Honda Mercedes Benz


Objects of Car

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS


MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS
QUESTIONS?

MODULE 4 - OBJECT-ORIENTED PROGRAMMING CONCEPTS

You might also like