Search:

Type: Posts; User: Skybear

Search: Search took 0.09 seconds.

  1. Thread: Operators

    by Skybear
    Replies
    7
    Views
    1,411

    Re: Operators

    Thanks. I was entering Java and operators, but it never occurred to me to try just try that. Google is giving me a lot of C++ pages, so I'll look at those. Nice indeed! Thanks!
  2. Thread: Operators

    by Skybear
    Replies
    7
    Views
    1,411

    Re: Operators

    That's what I thought. But how is ++y different from y++? And --y from y--? I ask because in the example above, where int y=20, y-- should mean 20-1 = 19. But the book has the answer as being 20.
    ...
  3. Thread: Operators

    by Skybear
    Replies
    7
    Views
    1,411

    Re: Operators

    Thanks for the help. Here is an excerpt from the book I'm reading about operators and which doesn't seem to be explained by the Oracle Java tutorial. This is where my confusion comes from:...
  4. Thread: Operators

    by Skybear
    Replies
    7
    Views
    1,411

    Operators

    I could use some help understanding operators. ++, --, +=, -=, *=, /=, and %=. There's something about them that I'm just not getting. I would really appreciate your assistance!
Results 1 to 4 of 4