What is the difference between constructors and methods? (Senior Lecturer – Amplify Mindware)
Transcript: constructor having same name as your class name its not going to have any return type not even void and it is mainly use to initialize your object it is automatically called when the object got created when we say function it should be explicitly invoke and its nothing have same name as class name. (Minakshi Salve – Senior Lecturer – Amplify Mindware)