+ 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.
1 Respuesta
+ 1
You can do it by defining it under protected
In c++ there are three access specifiers i.e. "public", "private", and "protected" for a class member.