February 2014
Beginner
1248 pages
62h 25m
English
• Overloaded constructors enable objects of a class to be initialized in different ways. The compiler differentiates overloaded constructors (p. 324) by their signatures.
• To call one constructor of a class from another of the same class, you can use the this keyword followed by parentheses containing the constructor arguments. If used, such a constructor call must appear as the first statement in the constructor’s body.
Read now
Unlock full access