What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
Imran Kabir
no need to call the constructor ,it will be executed when ever object is created.but
if you want to execute function you must call that function.
constructor name and class name should be same
function name may be different