+ 1

What is concept of class??🤔🤔

13th Jun 2019, 4:04 AM
𝖬𝖱 𝖱𝖠𝖩𝖯𝖴𝖳
𝖬𝖱 𝖱𝖠𝖩𝖯𝖴𝖳 - avatar
4 Réponses
+ 3
A class is like a building plan for many objects of the same kind. It binds certain data to its related functions and provides means to protect the stored data. The meaning is that each instance controls, how its data can be accessed or changed. An instance becomes like a 'device with buttons' you can use comfortably.
13th Jun 2019, 6:49 AM
HonFu
HonFu - avatar
+ 2
It is an instance of an object, so if you want to make a lot of objects with the same layout, you should use classes
13th Jun 2019, 4:24 AM
Airree
Airree - avatar
+ 2
Thanks to all
13th Jun 2019, 2:29 PM
𝖬𝖱 𝖱𝖠𝖩𝖯𝖴𝖳
𝖬𝖱 𝖱𝖠𝖩𝖯𝖴𝖳 - avatar