Unit 1: Definition and Characteristics of Object-Oriented Programming
Unit 1: Definition and Characteristics of Object-Oriented Programming
Unit 1
Definition and
Characteristics of Object-
Oriented Programming
Introduction
In Computer Programming I, you were introduced to
computer programming using a procedural
programming language such as C. In this unit, you will
be introduced to object-oriented programming using
Java. You will find the ideas in this unit more useful in
Software Development.
You are supposed to install Java and make sure to use
the right Integrated Development Environment (IDE).
You can use NetBeans as an IDE for Java
Programming Language. Now, let us get started.
Success Criteria
By the end of this Unit, you should be able to:
define Object-Oriented Programming
list examples of Object-Oriented Programming
languages
explain the characteristics of Object-Oriented
Programming
state the advantages of Object-Oriented
Programming over Procedural Programming
Key Words
You will find the following key words or phrases in this
unit: OOP, Inheritance, Polymorphism, Abstraction
and Encapsulation. Watch for these and make sure
that you understand what they mean and how they are
used in the unit.
Definition 1.2
On the other hand, Lewis (n. d), defines Object-
Oriented Programming (OOP) as a “computer
programming model that organizes software design
around data, or objects, rather than functions and
logic” (para. 1).
In both definitions, you will notice that OOP is about
the usage of objects.
Self-Evaluation Activity 1
1. What does OOP stand for?
2. Define inheritance as used in OOP.
3. List any three Object-Oriented Programming
languages.
Summary
In this unit, you have looked at the definition and
characteristics of Object-Oriented Programming the
following:
Object-Oriented Programming is a paradigm or
methodology that focuses on designing a
program using classes and objects.
Characteristics of Object-Oriented Programming
include inheritance, polymorphism, abstraction
and encapsulation.
OOP has many advantages over Procedural
Programming.
Reflection
Which concept(s) have you find more challenging in
this unit and why? Do you need extra help in that
concept(s)?
Unit 1 Test
1. What is Object-Oriented Programming?
2. State four characteristics of Object-Oriented
Programming (OOP).
3. Suggest any two advantages of Object-Oriented
Programming over Procedural Programming
You will find the answers to the Unit Test at the end of
the unit.
Answers to Activity 1
1. Object-Oriented Programming
2. Inheritance is defined as the process where one class
acquires the properties, methods and fields of
another.
3. Java, Python, C++, Ruby, C# (any three).