Introduction
The new operator helps you create variables or objects in memory while your program is running. It lets you ask for space to store data when you need it.
When you want to create a variable but don't know how many you need until the program runs.
When you want to keep data even after a function ends.
When you want to create objects that live until you decide to remove them.
When you want to manage memory yourself for better control.
When you want to create arrays with sizes decided during the program.