dapat diturunkan kelas akses kelas basis anggota non-statis tanpa objek kelas dasar
class base
{
public:
int data;
void f1()
{
}
};
class derived : base
{
public :
void f()
{
base::data = 44; // is this possible
cout << base::data << endl;
}
};
Friendly Fly