0
What is the precise meaning of 'new' operator while instatiating an object?
What is the role of 'new' operator/keyword during instantiation of an object?
1 ответ
+ 5
new operator is used to dynamically allocate heap memory for objects.
What is the role of 'new' operator/keyword during instantiation of an object?