+ 1

How can I understand classes?

11th Aug 2018, 9:02 AM
Shynkarenko Philipp
Shynkarenko Philipp - avatar
3 Answers
+ 3
Classes are the blueprint of the program (like a blueprint of building which tells the workers where to make what) where you make functions of the program. Then using this functions you make a whole building or program using this blueprint. Hope you understand.
11th Aug 2018, 9:23 AM
Prabhjot Singh Sahni
Prabhjot Singh Sahni - avatar
0
By trying it in the playground and manipulate it whatever you could think about :)
11th Aug 2018, 9:13 AM
Matthias
Matthias - avatar
0
Quite simply a class is just a place where you put similar functions. The variables and definitions of the functions are all contained within the class.
12th Aug 2018, 12:06 AM
Dominic Nicholas
Dominic Nicholas - avatar