Chapter 1 - OOP Overview

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

OBJECT-ORIENTED

PROGRAMMING

Overview of Object-
Oriented Programming
Le Van Vinh, PhD
Faculty of Information Technology
University of Technology and Education
Email: [email protected]
Contents
Introduction to OOP

The history of OOP

The characteristics of OOP

C# and .NET framework

2 Lê Văn Vinh - CNTT - SPKT


What is Object-Oriented Programming
OOP to make programs more closely
model the way people think about and
deal with the world

Virtual world (in
computer/electrical
Real world
devices)

Car 1

Car 2

3 Lê Văn Vinh - CNTT - SPKT


What is Object-Oriented Programming
Object-oriented programming is an
approach to software development in
which the structure of the software is
based on objects interacting with each
other to accomplish a task.

4 Lê Văn Vinh - CNTT - SPKT


Contents
Introduction to OOP

The history of OOP

The characteristics of OOP

C# and .NET framework

5 Lê Văn Vinh - CNTT - SPKT


The history of OOP

6 Lê Văn Vinh - CNTT - SPKT


The history of OOP

7 Lê Văn Vinh - CNTT - SPKT


The history of OOP
OOP concepts started surfacing in the mid-
1960s with a programming language called
Simula and further evolved in the 1970s
with advent of Smalltalk.

Although software developers did not


overwhelmingly embrace these early
advances in OOP languages, object-
oriented methodologies continued to
evolve.

8 Lê Văn Vinh - CNTT - SPKT


The history of OOP
In the mid-1980s there was a resurgence of
interest in object-oriented methodologies.

Specifically, OOP languages such as C++


and Eiffel became popular with mainstream
computer programmers.

OOP continued to grow in popularity in the


1990s,most notably with the advent of Java
and the huge following it attracted.

9 Lê Văn Vinh - CNTT - SPKT


The history of OOP
And in 2002, in conjunction with the release
of the .NET Framework, Microsoft
introduced a new OOP language, C#
(pronounced C-sharp) and revamped their
widely popular existing language, Visual
Basic, so that it is now truly object-oriented.

Today OOP languages continue to


flourish and are a mainstay of modern
programming.

10 Lê Văn Vinh - CNTT - SPKT


Programming Paradigms
Object-oriented programming is one of
several programming paradigms.
Other programming paradigms:
 imperative programming paradigm
(Pascal, C)
 logic programming paradigm (Prolog)
 functional programming paradigm (ML,
Haskell or Lisp).
Logic and functional languages are said
to be declarative languages.

11 Lê Văn Vinh - CNTT - SPKT


Programming Paradigms
In procedural languages, everything is a
procedure.

In functional languages, everything is a


function.

In logic programming languages, everything


is a logical expression (predicate).

In object-oriented languages, everything is


an object.
12 Lê Văn Vinh - CNTT - SPKT
Contents
Introduction to OOP

The history of OOP

The characteristics of OOP

C# and .NET framework

13 Lê Văn Vinh - CNTT - SPKT


The characteristics of OOP
Objects
 we live in an object-oriented world.
 You are an object

14 Lê Văn Vinh - CNTT - SPKT


The characteristics of OOP
Encapsulation

15 Lê Văn Vinh - CNTT - SPKT


Contents
Introduction to OOP

The history of OOP

The characteristics of OOP

C# and .NET framework

16 Lê Văn Vinh - CNTT - SPKT


C# and .NET framework
What is .NET

17 Lê Văn Vinh - CNTT - SPKT


C# and .NET framework
Framework, languages, and Tools

18 Lý thuyết đồ thị

You might also like