Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Kristopher Davis   on Aug 02 In Java Category.

  
Question Answered By: Ora Hanson   on Aug 02

the same program with different argument it will do amazing things, try this

C:\*.* (or) \\Network\Folder\*.java

pass these as arguments and see the results!!

public class TestStuff{

public static  void main(String[] args){
for (int i = 0; i < args; i++){
System.out.println(args[i]);
}
}
}

can anybody explain why this is happening??

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on query for Java Exports Or get search suggestion and latest updates.


Tagged: