Is there an error?

What will be an ideal response?
```
class B
{
public:
void virtual f();
};
void B::f() {/*. . . */}
```

There is no error (confirmed by two compilers).
Explanation: Qualifiers such as const and virtual may be placed on in either order:
const typeName identifier; or typeName const identifier;.

Computer Science & Information Technology

You might also like to view...

You can make a new style available in other documents by selecting ________ in the Modify Style Dialog box

A) new documents based on this style B) new documents C) new documents I created D) new documents based on this template

Computer Science & Information Technology

Systems analysis and design is a discipline that focuses on developing information systems according to the phases of a(n) _________. (Hint: Use the acronym.)

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

Computer Science & Information Technology