Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
I think the new operator is just the comen way at object oriented languages So yes you can do it with allocate but it is not comen as allocate was just a useful trick to do object similar tasks in not Objekt oriented languages
14th Feb 2017, 11:45 AM
Kilian Erben
Kilian Erben - avatar