Default Constructor
Last updated
Last updated
Every class has a default constructor . The constructor is implicitly called whenever a
object is created from that class
If you write a piece of code inside the default constructor , that piece of code will get executed when you create the object .