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

An instance of an class object, created and modified using the functions and constructors defined within a class definition.

class Superhero {
int name;
int power = 50;
int speed = 30;

public:
Superhero();

};

int main ()
{
Superhero Superman;

}