+ 1

Can we specify a function as protected?

In c++ there are three access specifiers i.e. "public", "private", and "protected" for a class member.

13th Sep 2020, 7:14 AM
Bijesh Kumar
Bijesh Kumar - avatar
1 ответ
+ 1
You can do it by defining it under protected
13th Sep 2020, 7:47 AM
你知道規則,我也是
你知道規則,我也是 - avatar