表达式的自动类型转换(要知道输出的结果是什么类型的)

 

运算会导致数据变大,byte short 和 char 容易超上限 所以会自动转换为int
posted @ 2024-02-20 15:54  灵泽pro  阅读(6)  评论(0)    收藏  举报