Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

GergesHany/object-oriented-programming-OOP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content

  1. Introduction
  2. Class and Objects
  3. Encapsulation
  4. Abstraction
  5. Data Hiding
  6. Access modifiers
  7. Enumerated Types or Enums
  8. friend class and Friend Function
  9. Operator Overloading
  10. this pointer in C++
  11. Inheritance
  12. Polymorphism
  13. Templates
  14. Exception Handling
  15. File Handling

Object-oriented programming:

Is a programming paradigm in which programs are organized around data, or based on the concept objects, rather than functions and logic.

Basically an object can be defined as a data (attributes or properties) and behaviors (methods)

Simply put, OOP focuses on the objects that developers want to manipulate rather than the logic required to manipulate them. This approach to programming is well-suited for programs that are large, complex and actively updated or maintained. Due to the organization of an object-oriented program, this method is also conducive to collaborative development where projects can be divided into groups. Additional benefits of OOP include code reusability, scalability and efficiency.

OOP was developed to increase the reusability and maintainability of source code. Transparent representation of the control flow had no priority and was meant to be handled by a compiler. With the increasing relevance of parallel hardware and multithreaded coding, developing transparent control flow becomes more important, something hard to achieve with OOP

Characteristics of an Object Oriented Programming language:

blog-img-21-5d7f491af2f797edc35c669d38cdacaa