Skip to content

fhferreira/oop-object-oriented-programming

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oop-object-oriented-programming

OOP means object oriented programming. OOP is programming paradigm which related with object.

OOP main concept is object and class. each object communicate with each other.

Class

Class is a template of blueprint, which contains attributes/properties/datas/sate and behavior/methods/actions.

ex: home blueprint/sketch

Object

Object is instance of class. object has attributes , methods and identify.object is instance of class. object is real entity, ex: real home

Advantages

  • clear structure.
  • reusable.
  • DRY code (don't repeat yourself).
  • Maintainable/Bug fixing/dedug easy.
  • Adoptable.
  • Reduce complexity.
  • Secure,protect infromation through encapsulation.
  • Faster development sprint.

Main pillar

  1. Inheritance (extends parent class with child class)
  2. Encapsulation (binding properties/method one unit)
  3. Abstraction (Hding implementation)
  4. Polymorphism (Many form)

resource of oop

interview questions

Releases

No releases published

Packages

No packages published