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: quick question

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

    Default quick question

    Hey guys, just a quick question about what the number values mean in the below 2 examples

    System.out.println(new String(readInfoFromFile(FILEPATHFORTIME, 0, 7)));

    System.out.println(new String(readInfoFromFile(FILEPATHFORTIME, 8, 8)));

    Thanks


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,101
    Thanks
    52
    Thanked 2,285 Times in 2,256 Posts

    Default Re: quick question

    Look at the API doc for the readInfoFromFile() method. That should define what the numbers are used for.

    If there is no doc, read the code for the method.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. quick question
    By jco69 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: April 19th, 2013, 09:38 AM
  2. [SOLVED] Quick little question
    By geezlouise in forum What's Wrong With My Code?
    Replies: 3
    Last Post: February 24th, 2013, 10:28 PM
  3. Quick question
    By l1nk3 in forum Java Theory & Questions
    Replies: 1
    Last Post: February 24th, 2012, 01:02 PM
  4. quick question, please HELP!
    By Nemus in forum What's Wrong With My Code?
    Replies: 14
    Last Post: September 29th, 2011, 01:23 PM
  5. Hi, quick question
    By curras in forum Member Introductions
    Replies: 1
    Last Post: March 21st, 2011, 03:21 PM