Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- int [] myList = {-113, -113, -113, -113, -113, -113, -113, -113, -113, -113};
- System.out.println("Slot 0 contains a " + myList[0]);
- System.out.println("Slot 1 contains a " + myList[1]);
- System.out.println("Slot 2 contains a " + myList[2]);
- System.out.println("Slot 3 contains a " + myList[3]);
- System.out.println("Slot 4 contains a " + myList[4]);
- System.out.println("Slot 5 contains a " + myList[5]);
- System.out.println("Slot 6 contains a " + myList[6]);
- System.out.println("Slot 7 contains a " + myList[7]);
- System.out.println("Slot 8 contains a " + myList[8]);
- System.out.println("Slot 9 contains a " + myList[9]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement