Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public class Arrays {
  2. public static void main( String[] args ) {
  3. String[] numbers = {
  4. "-113", "-113", "-113", "-113", "-113", "-113", "-113", "-113", "-113", "-113"
  5. };
  6.  
  7. for(int i = 0; i < 10; i++) {
  8. System.out.println("Slot " + i + " contains a " + numbers[i]);
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement