Integer怎么转化成short

调用Integer类的shortValue()方法即可得到其short值,这个方法是覆盖了其父类Number的方法

发布了189 篇原创文章 · 获赞 86 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/seulzz/article/details/104040467