JeffGrigg

Main Parameter Madness Output

Oct 1st, 2021 (edited)
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. [input]
  2. <command line to run program> one two three
  3.  
  4. [output]
  5. Number of command line arguments = 3
  6. args[0] = one
  7. args[0].charAt(0) = o
  8. args[0].charAt(1) = n
  9. args[0].charAt(2) = e
  10. args[1] = two
  11. args[1].charAt(0) = t
  12. args[1].charAt(1) = w
  13. args[1].charAt(2) = o
  14. args[2] = three
  15. args[2].charAt(0) = t
  16. args[2].charAt(1) = h
  17. args[2].charAt(2) = r
  18. args[2].charAt(3) = e
  19. args[2].charAt(4) = e
Add Comment
Please, Sign In to add comment