Knowledge Tip of the day....
If
you do not create constructors yourself, the Java compiler will
automatically create a no-argument constructor during run-time. This
constructor is known as default constructor. The default constructor
initializes any uninitialized instance variables.
as below...
as below...
Regards,
JavaExpertHelp - JavaByKiran.com
FOR MORE details visit @ www.JavaByKiran.com
#JAVA #Technical #Tips #JavaExpertshelp #JavaByKiran #Training #BestInstituteInPune
No comments:
Post a Comment