Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Características dos Arrays
- // 1- Dimensão
- // 2- Índice
- // 3- Elementos
- // 4- Tipo
- // 5-
- public class exript {
- public static void main(String[] args) {
- int [] a = new int[10];
- a[0] = 0;
- a[1] = 111;
- a[2] = 222;
- a[3] = 333;
- a[4] = 444;
- a[5] = 1000;
- System.out.println(a[4]);
- System.out.println(a[5]);
- System.out.println(a[6]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement