Search:

Type: Posts; User: jps

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,280

    Re: integer number too large - don't understand

    When you type a series of digits, it is the literal representation of the number. In this specific case it is a literal int being assigned to a variable of type long.

    String s = 'c';
    Here, c is a...
  2. Replies
    5
    Views
    1,280

    Re: integer number too large - don't understand

    2147483648 is too large to be an int, and is being represented as a "literal int"
    2147483648L is the representation of a "literal long"
Results 1 to 2 of 2