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 question on command line

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java question on command line

    i want to access integer value from command Line argument without changing body of main method.?


  2. #2
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,225
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: java question on command line

    Suggesting reading:
    Announcements - What's Wrong With My Code?
    What have you tried?

Similar Threads

  1. How to get the command line to function from Java code
    By summit45 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: August 24th, 2013, 01:19 AM
  2. Replies: 10
    Last Post: September 16th, 2011, 07:49 PM
  3. specify native library in java command line
    By major in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 14th, 2011, 06:45 AM
  4. Run command line structure in Java
    By soheilz92 in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: April 20th, 2011, 02:26 AM
  5. [SOLVED] Giving Java the name of a file to be read via command line?
    By lavloki in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: October 14th, 2010, 10:07 AM