![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Abstraction Mechanisms, Part 1 - slide 8 : 36 |
We illustrate the use of overloaded constructors - both with 'static allocation' and 'dynamic allocation'
In order to distinguish the use of the individual constructors they carry out 'funny Point initializations'
![]() | Funny implementations of constructors. |
![]() | Use of constructors - with automatic variables of class type. |
![]() | Actual program output. |
![]() | An additional Point construction attempt - a trap. |