Skip to content
#

object-oriented-design

Object-oriented programming (OOP) is a programming paradigm based on the concept of objects fundamental to many programming languages, including Java and C++. OOP can be devided in two sub types: class-based (or "classical") and prototype-based OOP (found in JavaScript, for example).

Object-oriented programming has several advantages over procedural programming:

  • OOP provides a clear structure for the programs
  • OOP helps to keep the code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug
  • Logic can be abstracted, encapsulated, composed, inherited and decoupled

Here are 71 public repositories matching this topic...

Design of a Flight Reservation System to keep track of all tickets, flights and passengers. The system is able to track what flights are available and what is the current capacity for different flights. If someone wants to book a ticket, they can register themselves as a passenger by providing certain details.

  • Updated Oct 24, 2021
  • Java