Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java code

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java code

    How to enter the Comand Line String Orguments Give me the complete code
    Last edited by evol2001; December 10th, 2012 at 08:59 AM. Reason: incomplete sentence


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    18,661
    Thanks
    45
    Thanked 1,960 Times in 1,934 Posts

    Default Re: java code

    How to enter the Comand Line String arguments
    On the command line enter:
    >java TheClassName The Args Go Here
    The Args Go Here
    those 4 Strings would go into the String array passed to the main() method
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Trouble Porting my Java File Reading Code to Android Code
    By Gravity Games in forum Android Development
    Replies: 0
    Last Post: December 6th, 2012, 03:38 PM
  2. Replies: 5
    Last Post: November 14th, 2012, 09:47 AM
  3. Replies: 3
    Last Post: September 3rd, 2012, 11:36 AM
  4. problem in my code java code graph editeur
    By kisokiso in forum Java Theory & Questions
    Replies: 5
    Last Post: January 6th, 2012, 07:36 AM
  5. Replies: 10
    Last Post: April 5th, 2011, 09:09 AM