Someone can explain this? Why Output is so strange?
Javan Li
Ranch Hand
Joined: Jul 24, 2002
Posts: 84
posted
0
class test{ public static void main(String args[]){ for (int i = 0;i < args.length; i++) { System.out.println("File " + i + ":" + args[i]); } if (args.length<=0) { System.out.println("No files!"); } } } Run with command: javatest *
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
posted
0
What's strange about the output?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus