Commit 9f2e0141 authored by Laura's avatar Laura

Laura Hakobyan - Exercise_03_06 Version1

parent a7003c4f
In any class that doesn't explicitly include a constructor, the compiler provides a default constructor that is, a constructor with no parameters.
The default constructor provided by the compiler creates a object without giving any initial values to the object's data members. For data members that are objects of other classes, the default constructor implicitly calls each data member's default constructor to ensure that the data member is initialized properly.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment