Search:

Type: Posts; User: j4ze

Search: Search took 0.29 seconds.

  1. Replies
    4
    Views
    405

    Re: Creating method to change money?

    When changing my method from

    to

    Eclipse gives me an error, that my return type is missing. Seems that i must have a return statement somewhere.

    Right now i cant seem to get the method...
  2. Replies
    4
    Views
    405

    Creating method to change money?

    Im writing a method that must take an integer (amount) as input and return a number of denominations for that amount.

    Ex.
    I have the denominations: 100, 50, 20, 10, 5, 1

    I call my method with...
  3. Replies
    3
    Views
    304

    Re: Is this project realistic?

    Thank you KevinWorkman!
    I get your point about being carried away. The reason for doing the installation from an exe, is only because i want the program to be and look "professional". Until now i...
  4. Replies
    3
    Views
    304

    Is this project realistic?

    Hello to all you java developers!

    Im in my 2nd year of java programming and i think it is time for me to make a "real program".
    So i decided to try to make a java-program for handling orders to...
  5. Replies
    8
    Views
    561

    Re: Output some data from a txt file?

    Thank you, that helped a lot. Yeah it makes a whole lot of sense to leave out the " ".
    Once again, thank you.
  6. Replies
    8
    Views
    561

    Re: Output some data from a txt file?

    Okay, i've been trying some different things now and gone through a lot of different tutorials on this subject, and yes, mapping is the method i will use.

    I've written a class that reads the txt...
  7. Replies
    8
    Views
    561

    Re: Output some data from a txt file?

    what is a Map?
    My specific question is: how should i do this? can i create a list of 2 arrays, one containing numbers, and the other containing names and then the the index of the product number...
  8. Replies
    8
    Views
    561

    Output some data from a txt file?

    I have an assignment at school in which i have to make a program that reads a "Product number" and outputs the "Product Name". Those two pieces of info is located in a txt file, separated by a ","...
Results 1 to 8 of 8