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

1. A the binding of virtual function is done at runtime if called using an object.

2. Upcasting causes no problems:


1. True
Explanation: If the binding can be done at compile time, compiler is smart enough to avoid the overhead of the virtual table.
2. false
Explanation: It is legal but produces the slicing problem.

Computer Science & Information Technology

You might also like to view...

What is the daemon for running Apache Web Server?

A. Tcpd B. Xinetd C. Sshd D. Httpd

Computer Science & Information Technology

What does WPA use for authentication?

A. Kerberos B. open system authentication C. preshared key D. certificates

Computer Science & Information Technology

The default file format in Access 2013 is the .accdb extension

Indicate whether the statement is true or false

Computer Science & Information Technology

All information found on the web through search tools can be considered as factual.

a. true b. false

Computer Science & Information Technology