T2: Today Knowledge tip...
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..
No comments:
Post a Comment