+ 3

Could you explain me what are words "private", " public", "protected", etc. need for? What are the difference?(In C and Java)

i am russian

8th Dec 2017, 7:40 AM
Аркадий Щукин
Аркадий Щукин - avatar
3 Réponses
+ 5
Ipang and Gordie, thank you very much for help!))
9th Dec 2017, 2:42 PM
Аркадий Щукин
Аркадий Щукин - avatar
+ 2
I hope you don't mind for an answer in English, I found these links, they explained about access modifier in C++, hope it could come as use: http://www.geeksforgeeks.org/access-modifiers-in-c/ http://www.tutorialdost.com/Cpp-Programming-Tutorial/48-Cpp-Public-Private-Protected-Access-Modifiers.aspx As for Java, I guess someone else later on will add more information regarding the question : ) Hth, cmiiw
8th Dec 2017, 9:18 AM
Ipang