java2

隐式转换

1、byte<short<int<long<float<double

2、计算时,byte,short,char转换为int类型。

3、小的和大的一起计算,转换为大的。

posted @ 2024-04-24 19:51  唐青云  阅读(8)  评论(0)    收藏  举报