As per standard book constructor is a special type of function which is used to initialize objects.As constructor is defined as a function and inside class function can have on
The new keyword here is the trick. You're correct in noting that in general, if you're calling it without an object, a method is static. However in this special case (i.e., preceded by the new keyword) the compiler knows to call the constructor.