Advertisement
Alexandar17103

Untitled

Mar 23rd, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. package sample;
  2.  
  3. public class test11 {
  4. public static void main(String[] args) {
  5.  
  6. int[] numbers = {2, 10, 6, 8, 1, 20, 1, 7, 9, 16, 7};
  7. System.out.println(numbers[12] + numbers[10]);
  8.  
  9. }
  10. }
  11. // НЯМА 12 ИНДЕКС И ДАВА ГРЕШКА
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement