Class B
{
public:
int e();
void f();
private:
int x;
};
class D: public B
{
public:
void h();
void g();
private:
float y;
}
How many public methods does class D have?
is it 2 or 4?
void h(), void g() and i'm not sure about int e() and void f()??
any help plz??