Home > Back-end >  How the parent class C subclass a protective function for the public to statement?
How the parent class C subclass a protective function for the public to statement?

Time:11-05

C + + how to subclass a protective function to the statement of the parent for the public, grammar on how to write?

CodePudding user response:

Subclasses:
Public:
Void func ()
{
Father: : func ();
}
  • Related