Object-Oriented Programming
Object-Oriented Programming
PROGRAMMING
Programming Languages
A programming language is a
computer language programmers
use to develop software
programs, scripts, or other sets
of instructions for computers
to execute.
Structure of Programming Languages
Machine Language
Assembly Language
High level Language
Machine Language
The fundamental language of the computer’s
processor, also called Low Level Language.
All programs are converted into machine language
before they can be executed.
Consists of combination of 0’s and 1’s that
represent high and low electrical voltage.
5
Assembly Language
6
High Level Language
7
Object-Oriented Programming
It refers to a type of
computer programming
(software design) in
which programmers define
the data type of a data
structure, and also the types
of operations (functions) that
can be applied to the data
structure.
Basic OOP Concepts
j e ct
ob
c l as s
a t i o n
p s u l
en c a
c t i o n
t r a
abs n c e
e r i t a
inh p h i sm
m o r
pol y
Object-Oriented Programming
245
245
What is an Object?
A bank transaction is an
example of an object that
is not physical.
What is an Object?
Constructio
n
The Two Parts of an Object
A class is a group of
objects with the
same properties
and the same
methods (behavior).
What is a Class?
Properties
Methods
Superclass, Subclass, and Inheritance
//verify language
//authenticate PIN
//validate account bal
//adjust account bal
What is Encapsulation?
Source:
https://www.webopedia.com/TERM/O/object
_oriented_programming_OOP.html