Abstraction - Nathan-Groves/2143-OOP-Groves GitHub Wiki

One of the three main concepts of OOP. Specifically, it refers to the hiding of all but the relevant data in a class in order to minimize complexity and increase efficiency.

class Car {
private:
int gas;

public:

int getGas();

};