0

Objects, instance, variable, identifier arnt these all the same thing but used diffrently is classes?

22nd Jul 2017, 11:32 AM
D_Stark
D_Stark - avatar
5 Antworten
+ 3
well,yes, class is a template or type of object.Object is instance of a class.the instance can be store in a variable this is a name of instance. An instance variable is a variable defined in particular object.Also declared in class.
22nd Jul 2017, 1:11 PM
Highman
Highman - avatar
+ 1
cool glad thats out the way makes sense now just trying to work out what is what becuase theres no point in reading things if im not 100% sure what it is im reading or doing. :)
22nd Jul 2017, 1:26 PM
D_Stark
D_Stark - avatar
+ 1
right,this is the best way how to get 100% certain what is what and how work with it.Good luck dude;)
22nd Jul 2017, 2:57 PM
Highman
Highman - avatar
0
It depends on the point of your view.Simply no,these things are different parts of programming.
22nd Jul 2017, 12:25 PM
Highman
Highman - avatar
0
so is this right? an object is a instance of a class class ball < class { < class body states > colour > size <instance variable behaviours > bounce < instance variable
22nd Jul 2017, 12:44 PM
D_Stark
D_Stark - avatar