Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 8

class

Van
{ : priv
ate C
publ ar
ic:
voi
chan d
ge_t
} rans
miss
ion()
OBJECTED-ORIENTED ;

PROGRAMMING
Car
ss
cla d; r;
e : e e
{
ri vat p_sp ture
p t to ufac
in man
int presentation by:
... Vladyslav Filiaiev,
CS-103
}
supervisor:
V. Dmytruk
PRESENTATION
LEGEND

What is OOP?

Main concepts

What it`s good for?

Supported languages
WHAT IS
OOP?
Objected-oriented programming based
class Ca
on the concept of "objects", which can r(s
a.drive( port);
contain data, in the form of fields );
a.chang
e_trans
(properties), and code, in the form of mission
();
functions (often known as methods).

In OOP, computer programs are designed id c ha nge _ t ra smission()


vo
by making them out of objects that interact {
max_tr)
with one another. if(trasmission<
+
transmission+
else
OOP languages are diverse, but the most
return
popular ones are class-based, meaning that }
objects are instances of classes, which also
determine their types.
MAIN
CONCEPTS

ENCAPSULATION POLYMORPHISM INHERITANCE

Binds together the data and When calling code can be Mechanism of basing an
functions that manipulate the agnostic as to which class in object or class upon another
data, and that keeps both safe the supported hierarchy it is object (prototype-based
from outside interference and operating on – the parent inheritance) or class (class-
misuse. Data encapsulation led class or one of its based inheritance), retaining
to the important OOP concept descendants. similar implementation.
of data hiding.

class Car Circle.draw(); class Van : private Car


{ private: ... } Recangle.draw(); {...}
WHAT IT`S GOOD FOR?

Objected-oriented programming is an
integral part if you need to build huge
systems with enormous amount of
code.
Thanks to it`s paradigms, it is much
easier to program huge applications.

OOP provides the ability to create extensible systems. This


is one of the most significant advantages of OOP and it is
this that distinguishes this approach from traditional
programming methods.
Extensibility means that the existing system can be made
to work with new components, and without making any
changes to it. Components can be added at runtime.
SUPPORTED
LANGUAGES
Today there are a lot languages that
support OOP

The most popular are: Java (15,4%),


C# (13,7%), Python (13,2%)*

Many of them are multi-paradigm


and they support object-oriented
programming to a greater or lesser
degree, typically in combination
with imperative, procedural
programming

*2012-2020 data
CONCLUSIONS

As it was said previously, OOP is one of the greatest


programming paradigm that allows
to do a lot of differenet and complicated things
more easier by using the main OOP concepts
such as: encapsulation, polymorphism,
inheritance.
Thanks to its funtional, we can build huge related to
each other systems.
THANKS FOR YOUR
ATTENTION!

You might also like