The most important difference: When you instantiate an object it’s constructor will be invoked whereas calling a method is always optional . You therefore might forget to call your initialization method and fail to initialize everything correctly.
The most important difference: When you instantiate an object it’s constructor will be invoked whereas calling a method is always optional . You therefore might forget to call your initialization method and fail to initialize everything correctly.