Assertion: class | /r/HasProperty | rectangle
Facets:
Source sentences:
text: // classes example #include <iostream> using namespace std; class Rectangle { int width, height
text: Declares a class (i.e., a type) called Rectangle and an object (i.e., a variable) of this class, called rect .
text: // example: one class, two objects #include <iostream> using namespace std; class Rectangle { int width, height
text: // pointer to classes example #include <iostream> using namespace std; class Rectangle { int width, height; public : Rectangle( int x, int y) : width(x), height(y) {} int area( void )