Search:

Type: Posts; User: Tonno22

Search: Search took 0.29 seconds.

  1. Re: Need some help with a couple errors in one of my methods, thanks in advance!

    I get an error where I call it telling me that footballTeam2 is already defined in the main method :/
  2. Re: Need some help with a couple errors in one of my methods, thanks in advance!

    No they do not match, I should make where I call it choice = getMenuChoice(FootballTeam footballTeam1, FootballTeam footballTeam2); ?


    I'm still getting an error on my call line though, saying...
  3. Re: Need some help with a couple errors in one of my methods, thanks in advance!

    I didn't understand the question, and the parameter is the parenthesis in a method name right?

    well, not necessarily a method name, but the parenthesis and what they hold
  4. Re: Need some help with a couple errors in one of my methods, thanks in advance!

    Haha, my bad, mistype there! Could you explain that question in detail? I don't really understand it :/ Sorry, I think I'm calling it incorrectly as well.
  5. Need some help with a couple errors in one of my methods, thanks in advance!

    Hey guys, really new to java and programming in general here, so bare with me. I'm getting an error here on my choice lines in my getMenuChoice() method, incompatible types because it requires string...
  6. Replies
    4
    Views
    399

    Re: Making a change dispenser!

    I changed my makechange() method to this,


    public String makeChange(int amount) {

    while (amount > 0 && amount <=99)
    if (amount > 99) {
    System.out.println("");
    ...
  7. Replies
    4
    Views
    399

    Re: Making a change dispenser!

    Sorry, I've since changed my code, it now looks like this. My build is successful, but is not outputting anything. I'm not sure why,


    package changedispenser;

    public class ChangeDispenser {
    ...
  8. Replies
    4
    Views
    399

    Making a change dispenser!

    Hey guys, could use some help on this program that I'm making.
    I'm working on a change dispensing program using a constructor, getters, setters, and a couple of different methods.

    So basically,...
Results 1 to 8 of 8