• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
+ 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 ответов
+ 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

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
C Program
0 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes
есть кто на русском разговаривает?
0 Votes