‚T‚¿‚á‚ñ‚Ë‚é šƒXƒ}ƒz”Łš ¡ŒfŽ¦”‚ɖ߂遡 ‘S•” 1- ÅV50  

¡ ‚±‚̃XƒŒƒbƒh‚͉ߋŽƒƒO‘qŒÉ‚ÉŠi”[‚³‚ê‚Ä‚¢‚Ü‚·

y‰SŽÒzJavaŽ¿–âE‘Š’kƒXƒŒ21y‘劽Œ}z

305 FƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñF03/03/30 06:39
>>302
‚Å‚«‚Ë‚¥‚æBint[] array = new int[1]; array[0] = 0; ‚ÆŠ¨ˆá‚¢‚µ‚Ăˁ[?

C:\>copy con a.java
public class a{
public static void main(String[] args){
int[] array = new int[0];
array[0] = 0;
}
}
^Z
1 ŒÂ‚̃tƒ@ƒCƒ‹‚ðƒRƒs[‚µ‚Ü‚µ‚½B

C:\>javac a.java

C:\>java a
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at a.main(a.java:4)

C:\>

252 KB
šƒXƒ}ƒz”Łš ŒfŽ¦”Â‚É–ß‚é ‘S•” ‘O100 ŽŸ100 ÅV50

read.cgi ver 05.04.00 2017/10/04 Walang Kapalit š
FOX š DSO(Dynamic Shared Object)