What is the difference between a constructor and a method? Ans. The important difference between constructors and methods are: Constructors create and initialize objects that don't exist yet, while methods perform operations on objects that already exist. Constructors can't be...
See more
Download the Study24x7 App, so you can connect and collaborate.