
It looks like you're new here. If you want to get involved, click one of these buttons!
hello,
Im doing this tutorial ---> 10. How to program in C# - CLASSES - Beginner Tutorial
URL--->https://youtu.be/s2hHjpZaSyI
Brackey's shows the 2 ways of calling the "Animal " class constructor.
1st way) using default values
Animal dog = new Animal();
dog.Print();
2nd way) using a constructor with arguments being passed to it.
Animal cat = new Animal("Mr Beans", 99, 0.8f );
cat.Print();
My question is - Is there specific terminology for creating each instance of the above Classes ?
I realize the 1st way is using the default constructor
But Brackeys kind of glosses over the second way.
thanks in advance