Skip to content

interface

The interface keyword is used to define a pure virtual class type. Interfaces cannot possess field variables.

Syntax

interface object
{
};
interface object : public super
{
};
interface object : protected super
{
};
interface object : private super
{
};