0
Why Classes and Objects are just too hard and complex to be understood or figured out! ..how in what it works!? EXPLAIN EXPLAIN.
Why Classes and Objects are just too hard and complex to be understood or figured out! ..how in what it works!? EXPLAIN EXPLAIN. we need more explaining and examples
4 Antworten
+ 3
what do you not understand about them? I felt the lessons covered classes quite well.
+ 3
have you done the lessons on classes? we use classes to represent real objects.. the :: is for accessing static methods and variables and can be used to access functions and variables from another scope. the . is used for accessing an objects methods and variables via an objects instance..
+ 2
Not very hard, just a way of thinking.
A class is a blue print for one type of objects.
An object stores data and/or does some kind of work.
You can create as many obejcts as needed of the same kind.
And you create different classes for obejcts with different purouse.
+ 1
why we should use classes and objects? what is :: means what does myClass.obj mean (the dot) ..what is the cases we have to use classes ...many many questions