Q:

What does the explicit keyword mean?

0

What does the explicit keyword mean?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now