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 the path to the Table Styles gallery?

A. (TABLE TOOLS LAYOUT tab | Table Styles group) B. (TABLE TOOLS DESIGN tab | Table Styles group) C. (TABLE TOOLS FORMAT tab | Styles group) D. None of the above

Computer Science & Information Technology

To display a long text label on two or more lines within a single cell:

A) insert a line break with Ctrl+Enter. B) type the first line, press Enter, and type the remaining line. C) use F2 to insert a line break after the first line. D) insert a line break with Alt+Enter.

Computer Science & Information Technology

When creating a new table style in the Style from Formatting dialog box, select a(n) ________ style type

Fill in the blank(s) with correct word

Computer Science & Information Technology

A(n) _________________________ is a formal organization that represents the interests of support and help desk workers and provides services to its members

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology