+ 1
constructor is automatically make by jvm when we make constructor then jvm not make..why?
2 Respuestas
0
Whenever a program is run. it always checks for the Constructor if have provided then program uses the constructor defined by u but when u don't provide the constructor program uses the default constructor provided by Java
0
so,why constructor is important for java?.
what is the need of default constructor?