Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainMadness {
- public static void main(String[] args) {
- System.out.println("Number of command line arguments = " + args.length);
- for (int i = 0; i < args.length; ++i) {
- System.out.println("args[" + i + "] = " + args[i]);
- for (int j = 0; j < args.[i].length(); ++j) {
- System.out.println(" args[" + i + "].charAt(" + j + ") = " + args[i].charAt(j));
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment