Professional Documents
Culture Documents
Oopweek 1
Oopweek 1
Development
1
What is Object Oriented
Programming?
2
What is an object?
3
So, what are objects?
= +
7
Basic Terminology
8
Basic Terminology:
Inheritance
A car is a vehicle
A dog is an animal
A teacher is a person
9
Basic Terminology:
Polymorphism
11
Basic Terminology:
Behaviour and Messages
12
The two steps of Object
Oriented Programming
13
Historical Notes
C++ owes most to C.
Other ancestors are Simula67
and Algol68. C++ 1987
First versions of C++ in 1980 under the name
“C with classes”. Since 1983 the name C++ is
used.
1990: ANSI/ISO 9899 defines a standard for C
1998: ISO/IEC 14882 specifies the standard
for C++
14
C++ and C
C is a subset of C++.
Advantages: Existing C libraries can be
used, efficient code can be generated.
But: C++ has the same caveats and
problems as C (e.g. pointer arithmetic,…).
C++ can be used both as a low level and
as a high level language.
o n t h e
f o c us ts .
W e a sp e c
le v e l
high 15
C++ and Java
17
Assessment Details
18
Books
19
Websites