Home » Interview » Technology

What is an explicit constructor?

Correct Answer: A conversion constructor declared with the explicit keyword The compiler does not use an explicit constructor to implement an implied conversion of types It’s purpose is reserved explicitly for construction

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion