+ 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 Réponse
+ 1
You can do it by defining it under protected
13th Sep 2020, 7:47 AM
㊠æČč æˆ‘ć…ˆäž‹äș†
㊠æČč æˆ‘ć…ˆäž‹äș† - avatar