Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 at work.WorkClass.main(WorkClass.java:16) - Java SE - Обсуждение 634217 |
|
Обсуждение
Всего сообщений: 6
|
||||
Имя | Дата | Сообщение | ||
Читать обсуждение полностью: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 at work.WorkClass.main(WorkClass.java:16) |
||||
Pearrf | 07.08.2012 12:42 |
https://www.cyberforum.ru/post3336046.html
Здравствуйте. Объясните, что не так.
package test;
...
|
||
turbanoff | 07.08.2012 12:50 |
https://www.cyberforum.ru/post3336076.html
Вы выводите второй элемент массива, которого нет.
|
||
M128K145 | 07.08.2012 13:47 |
https://www.cyberforum.ru/post3336243.html
Pearrf, в Java нумерация в массивах начинается с 0, а не 1
|
||
mutagen | 08.08.2012 01:03 |
https://www.cyberforum.ru/post3338155.html
да и ещё не String parts1 = S.split(" и");
а
String ...
|
||
M128K145 | 08.08.2012 01:37 |
https://www.cyberforum.ru/post3338185.html
mutagen, по поводу пробелов согласен, а вот синтаксис джавы...
|
||
mutagen | 08.08.2012 01:57 |
https://www.cyberforum.ru/post3338191.html
допускает но режет глаз, так как
String aaa =
читается...
|
||
|
||||
Similar |
Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at pr4.RSA.main(RSA.java:44) Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 at program.main(program.java:25) Ошибка: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7 |
|||
Ads |
|
|||
MoreAnswers |
Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 Ошибка: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 9 Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 Ошибка Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 |
|||