Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

string java is case senstive error

View previous topic View next topic Go down

GMT + 3 Hours string java is case senstive error

Post by Diya Sun May 29, 2011 4:18 pm

public class AnyArgsApp{
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 ...
Diya
Diya
Monstars
Monstars

Taurus Goat
Posts : 364
Join date : 2011-02-08
Age : 32
Notworthy

Character sheet
Experience:
string java is case senstive error Left_bar_bleue10/500string java is case senstive error Empty_bar_bleue  (10/500)

Back to top Go down

GMT + 3 Hours Re: string java is case senstive error

Post by Vuhelper Sun May 29, 2011 4:18 pm

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]);

}

}
avatar
Vuhelper
Deep Bench
Deep Bench

Posts : 97
Join date : 2011-05-29

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum