If you write a class that contains purely virtual functions, and then you write a child class but don’t write the virtual function, what happens when you compile your program? What happens when you try and run it?

What will be an ideal response?


The program will not compile if the purely virtual functions are not written in the child class. No compilation, no execution.

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT true about the Accounting Number format?

A) Zero values are displayed as 0 with zeroes in each decimal place. B) Negative numbers are enclosed in parentheses. C) The decimal place is aligned. D) The currency symbol is aligned to the left side of the cell.

Computer Science & Information Technology

Describe a private network.

What will be an ideal response?

Computer Science & Information Technology

In a Program Evaluation Review Technique (PERT)/Critical Path Method (CPM) chart, each rectangular box, called a task box, has five sections that contain important information about a task.

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

Computer Science & Information Technology

Generally, the most useful nested if statement occurs when a second if-else statement is placed within the else part of an if-else statement.

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

Computer Science & Information Technology