Specifications

Sun Services
Java™ Programming Language
Module 3, slide 24 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Executing the Constructor
Execute the matching constructor as follows:
MyDate my_birth = new MyDate(22, 7, 1964);
In the case of an overloaded constructor, the first
constructor can call another.
my_birth
????
day
month
year
22
7
1964