Term public private and protected in oop

Object oriented programming terms:
  • public scope to make that variable/function available from anywhere, other classes and instances of the object.
  • private scope when you want your variable/function to be visible in its own class only.
  • protected scope when you want to make your variable/function visible in all classes that extend current class including the parent class.
More: (For comprehensive information)

Komentar

Postingan populer dari blog ini

100 Gambar Motor Fiz R Keren Terlengkap

Tweak Terbaik Build.prop ngacir untuk semua ROM AOSP

List of all Redmi Note 4 MTK roms (i will upgrade weekly)

Cara Flashing Asus Zenfone 2 Laser ZE500KL Via Asus Flash Tool [RAW File]

Logo Seringai Vector Gratis