Sunday, February 7, 2010

The controlling statement of a switch statement can be an int or a float. True or False?

Which language are you using?


In Java, C, C++, the answer is False.


It can be an int, but it can't be a float.

No comments:

Post a Comment