Why constructor name and class name is same
The main purpose of constructor is to initialize the object properties at the time of object creation if constructor name is same as class name then the JVM can automatically invoke the constructor. If we does not declare constructor name same as cla...
what-is-oops.hashnode.dev1 min read