Attributes Properties - Nathan-Groves/2143-OOP-Groves GitHub Wiki

Refers to the characteristics in a program or Class that may be changed. In classes, attributes are often found in the private section.

class Burger {
private:
int ketchup;
int mayo;

public:

void setMayoAmount(int m)
{
mayo = m;
}

};