Skip to main content
added 19 characters in body; edited tags; edited title
Source Link
Adam Lear
  • 32.1k
  • 8
  • 104
  • 126

Nested classes and the friend What is "friend" keyword used for?

Why isCan you explain to me why the friendfriend keyword theis preferred way to givefor giving access rights to private data in aof class?

Nested classes and the friend keyword

Why is the friend keyword the preferred way to give access rights to private data in a class?

What is "friend" keyword used for?

Can you explain to me why the friend keyword is preferred for giving access rights to private data of class?

Removed plea in the body, corrected English in the body and title, although not sure where nested classes come in to the question
Source Link

nested class Nested classes and the friend keywardkeyword

Can you explain me why fried keywordWhy is prefered usethe friend keyword the preferred way to give access rights to private data ofin a class  ?
Please help me out. I am stuck here for really long and I am really sad. You are not me you won't undersand my feel. please have a feel for my feel not step on it.

nested class and friend keyward

Can you explain me why fried keyword is prefered use to give access rights to private data of class  ?
Please help me out. I am stuck here for really long and I am really sad. You are not me you won't undersand my feel. please have a feel for my feel not step on it.

Nested classes and the friend keyword

Why is the friend keyword the preferred way to give access rights to private data in a class?

Source Link
Dalton
  • 121
  • 2
  • 6

nested class and friend keyward

Can you explain me why fried keyword is prefered use to give access rights to private data of class ?
Please help me out. I am stuck here for really long and I am really sad. You are not me you won't undersand my feel. please have a feel for my feel not step on it.