+ 1

Hello guys please am having a difficult time understanding classes and objects and methods please help me out 😭😭

Currently learning python

18th Feb 2019, 5:12 PM
wisdom ose
wisdom ose - avatar
3 Answers
+ 3
Class is essentially a structure which is used for declaring an objects which are similar to each another. For instance Class: Tree Object: Oak Object: Ash Object: Larch Instead of creating bunch of variables for each kind of tree, we can use a class which defines what tree is, and then create an instance of that class, called an object. they will share the same variables but each object will have its own values. It is useful in games development and/when you have to process complex sets of data.
22nd Feb 2019, 3:49 PM
David Alfyorov
David Alfyorov - avatar
+ 1
What did you not unterstand? To specifying your question :)
18th Feb 2019, 6:43 PM
avatarluca
avatarluca - avatar
0
The concept of classes and objects
19th Feb 2019, 7:19 AM
wisdom ose
wisdom ose - avatar