public static void main(String [] args){
int c[] ={10,21,34,36,90,33,44,5};
int tot = 0;
for(int i:c){
System.out.println(c);
}
}
인쇄합니다
[[email protected]
[[email protected]
[[email protected]
[[email protected]
[[email protected]
[[email protected]
[[email protected]
[[email protected]
나는 내가 INT 변수를 출력하는데있어 알고 있지만, 나는 이것이 무엇을 의미하는지에 대한 궁금 해요. 감사합니다
'System.out.println (i);'(print i가 아닌)을 사용해야합니까? – Arjan
나는 그것을 안다. 나는 "c"가 그 결과를주는 이유를 묻고 있습니다. – Mob