Describe how a pure virtual function (the prototype) is written.

What will be an ideal response?

The prototype for a pure virtual function is written by making use of an assigned zero, like this:
```
class Base
{
public:
virtual return_type FunctionName() = 0;
// the = 0; means virtual
};

Such as:
class Animal
{
public:
virtual float HowMuchDoIWeigh() = 0;
// the = 0; means virtual
};
```

Computer Science & Information Technology

You might also like to view...

________ are created and used to increase performance

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which one of the following is a reason that you might want to include alternative resources within your application?

a. To support more string arrays b. To have access to more permissions c. To access external storage on the device d. To support different device input methods

Computer Science & Information Technology