Hi, this is my first time posting on this forum so I'm sorry if this isn't the right place for this topic. If it isn't the right place, please tell me where a better place might have been. Also, if this topic has been done before, I'm sorry, I didn't see it.
Anyways, I have many questions on the 'new' keyword. I googled it to try to understand more and I learned that it is used to create a new instance of a class (which I pretty much already knew) as well as it allocates memory for the object to be stored in (which I didn't know, but I now understand).
So now to get to the questions. What would you have if you created a variable to store an object, but never used the 'new' keyword to set aside memory for it? For instance:
Thanks in advance for any help. :)