+ 4

İ don't understand difference private protected?

9th Nov 2017, 4:24 PM
Adem AKKUŞ
Adem AKKUŞ - avatar
7 odpowiedzi
+ 4
private is more restrictive?
9th Nov 2017, 4:47 PM
Adem AKKUŞ
Adem AKKUŞ - avatar
+ 11
In which language? in java?
9th Nov 2017, 4:26 PM
Vahid Shirbisheh
Vahid Shirbisheh - avatar
+ 6
in Cpp, you can not use private attributes in derived classes. If you want to, just make them protected
10th Nov 2017, 1:33 AM
Asiri H
Asiri H - avatar
+ 5
in Java and csharp. both
9th Nov 2017, 4:27 PM
Adem AKKUŞ
Adem AKKUŞ - avatar
0
Very good
3rd May 2019, 6:21 AM
narjes
narjes - avatar