We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc146a commit 6278b0aCopy full SHA for 6278b0a
1 file changed
cpp/cpp1/virtualfunctions.cpp
@@ -49,7 +49,7 @@ int main() {
49
superObject.Virtual2();
50
*/
51
52
- cout << endl << "Calling Sub Object methods" << endl;
+ cout << endl << "Calling Sub Object methods with Sub variable" << endl;
53
subObject.nonVirtual1();
54
subObject.nonVirtual2();
55
subObject.Virtual1();
0 commit comments