Search Results

Search found 3 results on 1 pages for 'joroj'.

Page 1/1 | 1 

  • What does the ^ operator do in Java?

    - by joroj
    What function does the "^" operator serve in Java? When I try this: int a = 5^n; ...it gives me: for n = 5, returns 0 for n = 4, returns 1 for n = 6, returns 3 ...so I guess it doesn't indicate exponentiation. But what is it then?

    Read the article

1