From 857c0b41f039637e69f5144e32ccc52181a03420 Mon Sep 17 00:00:00 2001 From: Mac0490 <72305496+Mac0490@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:22:25 +0100 Subject: [PATCH] artical with illustration what is OOP artical with illustration what is OOP --- 2024/what-is-oop/illustration-what-is-oop.svg | 1304 +++++++++++++++++ 2024/what-is-oop/what-is-oop.md | 3 + 2 files changed, 1307 insertions(+) create mode 100644 2024/what-is-oop/illustration-what-is-oop.svg create mode 100644 2024/what-is-oop/what-is-oop.md diff --git a/2024/what-is-oop/illustration-what-is-oop.svg b/2024/what-is-oop/illustration-what-is-oop.svg new file mode 100644 index 00000000..1baa3e5a --- /dev/null +++ b/2024/what-is-oop/illustration-what-is-oop.svg @@ -0,0 +1,1304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/2024/what-is-oop/what-is-oop.md b/2024/what-is-oop/what-is-oop.md new file mode 100644 index 00000000..c258e4ad --- /dev/null +++ b/2024/what-is-oop/what-is-oop.md @@ -0,0 +1,3 @@ +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. 😊