Search:

Type: Posts; User: BeardedAxeWound

Search: Search took 0.09 seconds.

  1. Replies
    16
    Views
    2,325

    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,325

    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,325

    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,325

    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,325

    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,325

    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,325

    Re: Bluej issue

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

    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...
Results 1 to 8 of 8