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...

The number of elements in an array can be determined using the array's ____ property.

A. index B. constructor C. input D. length

Computer Science & Information Technology

What is meant by the term “Six Sigma?”

What will be an ideal response?

Computer Science & Information Technology