4 ms·
I'm guessing this is why you have to call "new" to create new objects in Java?
by metaobject 12y ago
I'm guessing this is why you have to call "new" to create new objects in Java?
- TazeTSchnitzel 12y agoJava's new is similar to C++'s new as I understand it, yes. It allocates memory, initialises an object, and produces a pointer.