Which of these operators is used to allocate memory for an object?
(a) malloc
(b) alloc
(c) new
(d) give
This question was posed to me during an online interview.
This interesting question is from Class Fundamentals & Declaring objects topic in chapter Classes and Methods of Java