Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- int [] numbers = new int [10];
- for (int i=0; i<numbers.length;i++) {
- numbers[i] = -113;
- System.out.println("Slot " + i + " contains a " + numbers[i]); }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement