encapsulation tag

1 questions


1 answers
126 views
0
When do you use friend in class?

I know the friend declarationI've never used it beforeI don't know when to use it.If you think about the encapsulation of OOP,Isn't friend an exceptional function?

2 years ago

© 2024 OneMinuteCode. All rights reserved.