Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
+ 5

When and why should I use public, private, and protected functions and variables inside a class? What is the difference between

phpprotectedpublicprivate
22nd Aug 2017, 11:01 AM
Kurniawan
Kurniawan - avatar
2 odpowiedzi
+ 17
https://www.sololearn.com/discuss/288396/?ref=app https://www.sololearn.com/discuss/168276/?ref=app https://www.sololearn.com/discuss/642863/?ref=app
22nd Aug 2017, 11:08 AM
Igor Makarsky
Igor Makarsky - avatar
+ 4
ty igor
23rd Aug 2017, 9:11 AM
Kurniawan
Kurniawan - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Error in python
3 Votes
Linking GitHub with Sololearn profile
2 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
2 Votes
Model Context Protocol ? What is it ?
2 Votes
High paying job?
2 Votes
Do you Think Sololearn should add GDscript?
2 Votes
Not Accessing Message Function
0 Votes
Pls wat is the answer for dis question
0 Votes
what is wrong with my code?
0 Votes
Where have they gone
1 Votes