Java Questions For Selenium Interview
Part 8 36 : What is the difference between the Constructor and Method? Answer : Main difference between the Constructor and Method is as bellow. Constructor : Name of the constructor must be same as class name. Constructor must not have any return type. It is used to initialize the state of an object. It is not … Read more