public class AnyArgsApp{
public static void main(String[] args){ /*it is String , not string java is case senstive, that is why you were getting the error*/
for(int i=0;i < args.length ; i++)
System.out.println("Argument: "+i+"value"+args[i]);
}
}
public class AnyArgsApp{View more random threads:
- Listener in java
- Http & tcp/ip
- Java 6 update 26 - incompatible! Bis
- program does not enter for loop in Java 2011
- Installer Download for java netbeans Web & Java EE Java SE...
- Request for Guidance in java 20111
- JAVA Download errors: 1305, 2755, 1606, etc.
- Java Not Found or Not Working' occurs while playing Pogo...
- what is garbage collection
- Difference between java netbeans and tomcat 6.0
public static void main(string[] args){
for(i=0;i
System.out.println("Argument:"+i+"value"+args[i]);
}
}
compiler gives multiple error while complie this program ... Please rectify the mistakes in it ...
Sponsored Links
public class AnyArgsApp{
public static void main(String[] args){ /*it is String , not string java is case senstive, that is why you were getting the error*/
for(int i=0;i < args.length ; i++)
System.out.println("Argument: "+i+"value"+args[i]);
}
}
There are currently 1 users browsing this thread. (0 members and 1 guests)