In this case new simply means create a newobject of the Dog class and assign it to the reference variable of type Dog.
The new keyword will make a new object irrespective of whether one of the same type already exists. If the variable it is being assigned to already exists, it will “overwrite” it and create a new object to fit inside of it.