14. Assume that class B is derived publicly from class A. Class A has two functions, f10 and f20). Function f20 is virtu
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
14. Assume that class B is derived publicly from class A. Class A has two functions, f10 and f20). Function f20 is virtu
14. Assume that class B is derived publicly from class A. Class A has two functions, f10 and f20). Function f20 is virtual. Assume the following statements statements: A* ptr=new B; ptr->f10; ptr->f20; Fill in the blank The function f1() as defined in class _ will be used. The function f20 as defined in class will be used 15. In question 14, the call to ptr->f2() is an example of
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!