An issue of Huawei Interview

xiaoxiao2021-03-06  65

N can't be the following type of Switch (n) A char b Int c unsigned Double

Switch in Java can only be int, or you can implicate data types that INT

BYTE, CHAR, INT.

转载请注明原文地址:https://www.9cbs.com/read-89863.html

New Post(0)