Method - Nathan-Groves/2143-OOP-Groves GitHub Wiki
A function contained within a class that can be called to modify and fetch data within the class.
class Game {
private:
int Score;
public:
void getScore();
int setScore();
};
A function contained within a class that can be called to modify and fetch data within the class.
class Game {
private:
int Score;
public:
void getScore();
int setScore();
};