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: How are different Java files linked?

  1. #1
    Member
    Join Date
    Sep 2011
    Posts
    40
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default How are different Java files linked?

    Ok the title might be a little confusing, so I will give my example, I am a novice coder, making a program called math test, I will have, Addition.java, Subtraction.java, Multiplication.java, and Division.java, I want it to where when the file, Addition.java ends, it should go to Subtraction.java, Is there a code to enter to make this work? Or do I edit something in my run.bat file?


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: How are different Java files linked?

    Quote Originally Posted by tyb97 View Post
    Ok the title might be a little confusing, so I will give my example, I am a novice coder, making a program called math test, I will have, Addition.java, Subtraction.java, Multiplication.java, and Division.java, I want it to where when the file, Addition.java ends, it should go to Subtraction.java, Is there a code to enter to make this work? Or do I edit something in my run.bat file?
    First off, your signature is funny, but it's also extremely distracting. A technical forum might not be the place for it. I'd change it if I were you, as keeping it is only going to hurt your chances of getting help.

    That being said, what exactly do you mean when you say "it should go to"? What method should it call?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. need help with Doubly-Linked list programing in java
    By bulutbey in forum Algorithms & Recursion
    Replies: 3
    Last Post: August 22nd, 2011, 01:51 PM
  2. Java Newbie - Sorted Linked List not inserting properly - please help!
    By bubbleboy in forum What's Wrong With My Code?
    Replies: 20
    Last Post: June 17th, 2011, 11:48 AM
  3. Seraching through files in a folder for a pattern match inside the files.
    By dazzabiggs in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 2nd, 2011, 08:35 AM
  4. Replies: 1
    Last Post: March 22nd, 2011, 06:59 PM
  5. iterators & linked lists in java question
    By somewhat_confused in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 4th, 2010, 10:59 AM