Answer the following statements true (T) or false (F)

1) Only member functions can be virtual.
2) Destructors are automatically virtual.
3) A the binding of virtual function is done at runtime if called using an object.
4) Upcasting causes no problems:
5) Downcasting causes the slicing problem.

1) T
2) F
3) T
4) F
5) F

Computer Science & Information Technology

You might also like to view...

You can tell if an object or picture has a hyperlink by clicking it

Indicate whether the statement is true or false

Computer Science & Information Technology

OSI is an IEEE standard (IEEE 1149.1) for testing, maintenance, and support of assembled circuit boards

Indicate whether the statement is true or false.

Computer Science & Information Technology