What is the error?

```
class B
{
public:
virtual void f();
};
virtual void B::f() {/*. . . */}
```

The error message given at the definition of void B::f() is “'virtual' storage-class specifier illegal on function definition”

Computer Science & Information Technology

You might also like to view...

Which one of the following is not one of the automated testing tools that the Android SDK provides?

a. AccessibilityService b. JUnit c. uiautomator d. UiAutomation

Computer Science & Information Technology

A ____ character is a placeholder that stands for one or more characters.

A. wildcard B. virtual C. query D. variable

Computer Science & Information Technology