GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CppWorks/oop: Object Oriented Programming

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.cpp
main.cpp
 
 
oop.pro
oop.pro
 
 

Repository files navigation

This sample demonstrates

The Four Pillars of Object Oriented Programming

Encapsulation

 Encapsulation is accomplished when each object maintains a private state, inside a class.
 Other objects can not access this state directly, instead, they can only invoke a list of public functions.
 The object manages its own state via these functions and no other class can alter it unless explicitly allowed.
 In order to communicate with the object, you will need to utilize the methods provided.</br>

Abstraction

  Abstraction is an extension of encapsulation. 
  It is the process of selecting data from a larger pool to show only the relevant details to the object.

Inheritance

  Inheritance is the ability of one object to acquire some/all properties of another object.

Polymorphism

  Polymorphism gives us a way to use a class exactly like its parent so there is no confusion with mixing types.
  This being said, each child sub-class keeps its own functions/methods as they are.

About

Object Oriented Programming

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.