Write a class having a public pure virtual method. You need not put any other members in the class.

What will be an ideal response?


```
class Figure
{
public:
virtual void draw() = 0;
};
```

Computer Science & Information Technology

You might also like to view...

When we want a priority queue, and the following is true: after enqueuing a group of elements, they can be sorted in O( n ) time, and after dequeuing starts, we will never enqueue again; then we should use:

A. a heap for the priority queue B. a heapify function C. an array for the priority queue D. a stack for the priority queue

Computer Science & Information Technology

What should you configure in Hyper-V Manager when a set of virtual machines requires an independent network for security purposes?

A. virtual local area network B. independent subnetwork C. host security identifier D. globally unique identifier

Computer Science & Information Technology

Because a bibliography must begin on a new page, at the location of the insertion point, you can insert a manual ________ to force one page to end and a new page to begin

Fill in the blank(s) with correct word

Computer Science & Information Technology

Bartering is a technique used by advertisers to recapture shoppers who abandoned a Website without making a purchase.

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

Computer Science & Information Technology