hey, can you guys check this over for me and tell me if i got it right?
is this correct? i followed the litmus test. but it never mentioned if it was a call to a method, only mentioned if it was a call to an object. its static. and dyanmic if its using a reference or pointer.Code:class Base { public: virtual void f1() { f2(); // static binding, because f2 is static } void f2() { f3(); // dynamic binding because f3 is virtual } virtual void f3() { } virtual ~Base() {} };