Skip to content

protected

The protected is an access modifier keyword used for limiting the member symbol visibility of classes, interfaces, and namespaces.

Syntax

protected:
: protected

Example Code

class object : protected super
{
protected:
};
interface object : protected super
{
protected:
};
namespace module : protected super_module
{
protected:
};