Skip to content

Commit

Permalink
what is oop
Browse files Browse the repository at this point in the history
what is oop
  • Loading branch information
Mac0490 committed Nov 3, 2024
1 parent 27c6e84 commit 7402c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2024/what-is-oop/artical.md
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

0 comments on commit 7402c40

Please sign in to comment.