Search:

Type: Posts; User: akira25

Search: Search took 0.10 seconds.

  1. Re: Need to write a public instance method for a simple dice program

    Hi,

    This is a copy of the code for face1()


    /**
    * Sets the face of the receiver to 1 spot
    */
    public void face1()
    {
  2. Need to write a public instance method for a simple dice program

    Hi,

    Not sure where to start here or what detail you will need, as you can guess, I'm pretty darn new to all this! :) Ok, here goes. I am working through an assignment, in this particular section I...
  3. Re: Need help understanding how Java uses expressions and how they evaluate

    ahh, great, got it!

    Thanks for the help :)
  4. Re: Need help understanding how Java uses expressions and how they evaluate

    Hi,

    thanks very much for the reply. I think I understand what you are saying there. I'm still having trouble understanding why the statement:

    name == bird + "son";

    evaluates to False, I...
  5. Need help understanding how Java uses expressions and how they evaluate

    Hi,

    Hopefully this is a simple one. I have a section of code:

    int x = 17;
    int y = 9;
    String name = "Robinson";
    String bird = "Robin";

    My task is to explain what each expression evaluates...
Results 1 to 5 of 5