Search:

Type: Posts; User: Hammet27

Search: Search took 0.09 seconds.

  1. Thread: Help

    by Hammet27
    Replies
    1
    Views
    996

    Best advice I can give is to apply all the...

    Best advice I can give is to apply all the amazing things you've learned about java up until this point to write some code that will solve the problems
    Hint: do them one at a time
  2. Replies
    4
    Views
    3,813

    A thing of beauty :)

    A thing of beauty :)
  3. Lol again?

    Lol again?
  4. Replies
    4
    Views
    3,813

    The array needs to be an array of Bowl objects......

    The array needs to be an array of Bowl objects... The method signature should look like this

    public static int countEmptyBowls(Bowl[] bowls) {
    // method definition in here
    }
  5. Replies
    30
    Views
    2,224

    Basically yes, although you need to edit your...

    Basically yes, although you need to edit your methods so you are working on the array you have passed to the method, not creating a new one and working on that as any data you create in a method will...
  6. Replies
    30
    Views
    2,224

    Meaning your method signature will need adjusting...

    Meaning your method signature will need adjusting as well to specify the correct data type
  7. Replies
    30
    Views
    2,224

    When you use the [ ]operators you are asking for...

    When you use the [ ]operators you are asking for one element of the whole array, in your method at the end of the for loop i is equal to list.length (12) which terminates the for loop but then are...
  8. Agreed, javac and java commands should be learnt...

    Agreed, javac and java commands should be learnt and understood... I would actually recommend starting the learning process with just a text editor (Sublime Text 2, or Notepad++ are good) to write...
  9. Why are you compiling at the command prompt...

    Why are you compiling at the command prompt anyway? If you're writing the code in netbeans it makes far more sense to build the project from within netbeans...
  10. The last attempt it actually compiled, then threw...

    The last attempt it actually compiled, then threw an exception when it was run... Post your source code so we can see what the problem is
  11. Replies
    7
    Views
    1,224

    Sorry writing this on my phone so missed all of...

    Sorry writing this on my phone so missed all of the problem, you haven't written a method isEven(), isOdd(), or isPrime(), which take no parameters, but will be working on the int that is assigned by...
  12. Replies
    7
    Views
    1,224

    You need to declare int number as a global...

    You need to declare int number as a global variable, not local to your constructor, your int number is being destroyed as soon as constructor finishes... Once that is fixed all your other methods can...
  13. Thread: Workshop 6

    by Hammet27
    Replies
    42
    Views
    2,906

    Or "height"

    Or "height"
Results 1 to 13 of 14