public static void main(String[] args) { Integer a = 0; count(a); System.out.println(a); // 问题: a 输出是多少? 原因 } private static void count(Integer a) { for (int i = 0; i <10 ; i++) { a+=a; } }
java基础题目日常思考(持续更新)
猜你喜欢
转载自www.cnblogs.com/bobby2018/p/10286143.html
今日推荐
周排行