English
[1Day-1CS] Imperative Programming & Object-Oriented Programming

[1Day-1CS] Imperative Programming & Object-Oriented Programming

1 Day 1CS, A Quick Recap of Imperative & Object-Oriented Programming

Types of imperative programming

Object-Oriented Programming

  • A way of representing the interactions of a program as a collection of objects and utilizing methods declared inside the objects.

  • Time-consuming to design and slower than other programming paradigms

Features of Object-Oriented Programming

  • Abstraction: distilling core concepts, functionality, and functionality from complex systems.

  • Encapsulation: bundling an object's properties and methods together and hiding some of them from the outside world.

  • Inheritance: allowing a child class to inherit the characteristics of a parent class, allowing it to be reused, added to, and extended.

  • Polymorphism: A single method or class can behave in many different ways.

  • Overloading: having multiple methods with the same name, "static" polymorphism that occurs during "compilation

  • Overriding: A child class overriding a method inherited from a parent class, 'dynamic' polymorphism that occurs during 'runtime'.

댓글 작성

게시글에 대한 의견을 남겨 주세요.

댓글 0