0

Is it necessary to assign new typeoftheobject() each time we create one in the main ?

11th Jun 2017, 1:40 PM
Mehdi ABDALLAOUI
Mehdi ABDALLAOUI - avatar
2 Answers
+ 1
Do not understand the question. Evry time you create an object you assign it to some var. 1. you define an var 2. you start the constructor by typing new typeofobject () 3. you make an assignment by using = That's it.
11th Jun 2017, 7:54 PM
buran9
buran9 - avatar
0
aaah okeeey thanks !
11th Jun 2017, 8:14 PM
Mehdi ABDALLAOUI
Mehdi ABDALLAOUI - avatar