From 7402c4093a5ccb52d6ec3eef30618e315acceb6d Mon Sep 17 00:00:00 2001 From: Mac0490 <72305496+Mac0490@users.noreply.github.com> Date: Sun, 3 Nov 2024 18:12:04 +0100 Subject: [PATCH] what is oop what is oop --- 2024/what-is-oop/artical.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2024/what-is-oop/artical.md b/2024/what-is-oop/artical.md index 134a4dfb..5ea23634 100644 --- a/2024/what-is-oop/artical.md +++ b/2024/what-is-oop/artical.md @@ -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