Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.12 seconds.

  1. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    928

    Re: Confused

    Yes, you have to call your function. Java won't automatically call your function for you.

    However, Java *does* automatically call the main() method for you. That's the whole point of the main()...
  2. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    928

    Re: Confused

    Why would it? When do you call your duck() function?
  3. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    928

    Re: Confused

    Okay, and what exactly do you mean when you say this doesn't work? When do you call your duck() function?
  4. Thread: Confused

    by KevinWorkman
    Replies
    13
    Views
    928

    Re: Confused

    What exactly do you mean when you say that this won't work?

    Where is your class? Where is your main method?
Results 1 to 4 of 4