Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. int main()
  2. {
  3.  
  4. Box firstBox; //-------------> Constructor 1 : Default Constructor is called.
  5. Box secondBox(10,5); //-------> Constructor 2 : Parameterized Constructor is called
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement