Lecture 4 - Slide 24 : 40 |
![]() | Class Point implementation. |
![]() | Use implicit of the conversions. |
![]() | Program output. |
The following illustrates conversion between user-defined types: Point and Tripple
For the exercise below
![]() | Class Tripple implementation. |
![]() | Illustration of conversions. |
![]() | Program output. |
![]() | Conversion via constructors |