What is the precise meaning of 'new' operator while instatiating an object? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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?

17th Sep 2020, 5:06 AM
Rohan Agarwal
Rohan Agarwal - avatar
1 Resposta
+ 5
new operator is used to dynamically allocate heap memory for objects.
17th Sep 2020, 5:24 AM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar