Sponsored Links


Results 1 to 2 of 2

Thread: string java is case senstive error

  1. #1
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266

    Thumbs up string java is case senstive error

    Sponsored Links1


    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 ...


    Sponsored Links

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    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]);

    }

    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. String to Char Array in Java 2011
    By Vuhelper in forum Java forum
    Replies: 0
    Last Post: 07-23-2011, 05:43 PM
  2. Error in JAVA: 25099 during Java installation
    By Xpert in forum Java forum
    Replies: 0
    Last Post: 06-24-2011, 07:51 AM
  3. Replies: 0
    Last Post: 06-24-2011, 07:44 AM
  4. Replies: 0
    Last Post: 06-24-2011, 07:42 AM
  5. error code in java
    By saneha in forum Java forum
    Replies: 1
    Last Post: 04-24-2011, 10:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft