The
new operator instantiates a class by allocating memory for a new object and returning a reference to that memory.Note: The phrase "instantiating a class" means the same thing as "creating an object." When you create an object, you are creating an "instance" of a class, therefore "instantiating" a class.
Posted in: