InterviewSolution
Saved Bookmarks
| 1. |
Define A Conversion Constructor? |
|
Answer» A CONVERSION constructor is a single argument constructor. It is used by the compiler to convert a type of object as an argument to a class type. The above example has the FOLLOWING two conversion constructors:
A conversion constructor is a single argument constructor. It is used by the compiler to convert a type of object as an argument to a class type. The above example has the following two conversion constructors: |
|