深度學習CV項目就業(yè)小班9期2022
問題描述
public static void main(String[] args) {
? ?for (int i = 0; i < 150; i++) {
? ? ? ?Integer a = i;
? ? ? ?Integer b = i;
? ? ? ?System.out.println(i + " " + (a == b));
? ?}}
i取值從0到150,每次循環(huán)a與b的數(shù)值均相等,輸出a == b。運行結果:
0 true1 true2 true3 true
標簽: