+ 1

Using class for method? It's like static, public, private?

example "class Garden", method "Garden ()"

10th Mar 2017, 10:42 PM
Alvin Fadli
Alvin Fadli - avatar
1 Respuesta
+ 1
that method would be called the constructor. they are public. they are called when you create an object of that class, only called once per object
11th Mar 2017, 5:49 AM
Michael Szczepanski
Michael Szczepanski - avatar