-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
what is oop
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# What is OOP? | ||
|
||
Object-Oriented Programming (OOP), is like superhero team. Each hero (object) has their own powers (data/attributes) and tricks(methods) specified in Class called superhero team. These objects store values. Heroes keep their true identities hidden, which in OOP is known as Encapsulation. With Abstraction you do not need to understand how heroes fly, just that they do. Through Inheritance, sidekicks can copy powers from their mentors. In the end, they save the day while you chill and take the credit. 😊 | ||
Object-Oriented Programming (OOP ) is like building a superhero team. Each hero (object) has their own powers (data/attributes) and tricks (methods). All objects together form a class, the superhero team. These objects store values. Heroes keep their true identities hidden, which in OOP is known as Encapsulation. Objects provide a layer of Abstraction, so that the user does not need to know the internals of the code. Just like with heroes, you do not need to know how they fly, but you know that they do. Through Inheritance, sidekicks can copy powers from their mentors. In the end, they save the day while you chill, unaware of the chaos they have handled. | ||
|
||
## Author | ||
Miroslava Macejkova |