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

18th Jan 2017, 10:22 PM
Amr Monsef
Amr Monsef - avatar
4 Antworten
+ 3
what do you not understand about them? I felt the lessons covered classes quite well.
18th Jan 2017, 10:33 PM
jay
jay - avatar
+ 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..
18th Jan 2017, 10:43 PM
jay
jay - avatar
+ 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.
18th Jan 2017, 10:43 PM
Mattias Eriksson
Mattias Eriksson - avatar
+ 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
18th Jan 2017, 10:35 PM
Amr Monsef
Amr Monsef - avatar