Search:

Type: Posts; User: BeardedAxeWound

Search: Search took 0.20 seconds.

  1. Replies
    16
    Views
    2,306

    Re: Bluej issue

    Im trying to store different types of food in this class called fishfeeder, and when declaring these values as such i am having the specified issued.

    What you just recently told me creates a...
  2. Replies
    16
    Views
    2,306

    Re: Bluej issue

    Im trying to store different types of food in this class called fishfeeder, and when declaring these values as such i am having the specified issued.

    What you just recently told me creates a...
  3. Replies
    16
    Views
    2,306

    Re: Bluej issue

    If i am to put the ";" after :foodType = "fish food pellets". Then the rest of that code will be dismissed and it says that the line of code is not a statement.

    Cheers
  4. Replies
    16
    Views
    2,306

    Re: Bluej issue

    Sorry i am unable to get an error message to that extend as i am using bluej sorry but all that is said is: ";" is expected.

    Thanks
  5. Replies
    16
    Views
    2,306

    Re: Bluej issue

    Thanks for the reply, but that doesnt work either as its saying i need ";" after the: "fish food pellets"(;)..

    what is the problem here?

    Thanks alot
  6. Replies
    16
    Views
    2,306

    Re: Bluej issue

    This is the code and the line which is causing problems is within ##



    /*
    * This is the class in which the fish will be feed when i am out and not home
    */

    public class FishFeeder
    {
  7. Replies
    16
    Views
    2,306

    Re: Bluej issue

    Hi there, it said : " bad operand types for binary operator '||'
  8. Replies
    16
    Views
    2,306

    Bluej issue

    Hi there, i am trying to declare 4 types of fish food types in the constructor but keep getting compiling problems so was wondering how to do it?

    :foodType = "fish food pellets" || "spirulina...
  9. [SOLVED] Bluej problem with adding an object from one class to another.

    Bluej problem with adding object from another class to a different class?
    Hi there i am trying to create a fish tank which has fish and a fish feeder, i have created methods and objects for the fish...
  10. Replies
    5
    Views
    1,243

    Re: Buej programming issue

    Thank you very much it finally works :)
  11. Replies
    5
    Views
    1,243

    Re: Buej programming issue

    Hey Norm, i am unsure of what to exactly write for that method therefore the method which i have written there is incorrect.

    So i was wondering what exactly I would have to write to achieve the...
  12. Replies
    5
    Views
    1,243

    Buej programming issue

    Hi there i am relativity new to java programming and i am having trouble with creating a code which increases the fish's length by 1% of the amount of food eaten?

    Here is the code:



    public...
Results 1 to 12 of 12