Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- Box firstBox; //-------------> Constructor 1 : Default Constructor is called.
- Box secondBox(10,5); //-------> Constructor 2 : Parameterized Constructor is called
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement