Search:

Type: Posts; User: Json

Search: Search took 0.12 seconds.

  1. Re: Fitting a large primitive into a small reference variable

    You might see a question which tries to store 128 into a byte and you just need to recognise that it will be a compiler error because its a too large number for a byte.

    // Json
  2. Re: Fitting a large primitive into a small reference variable

    Ok here we go :D

    Lowest byte: -128
    Highest byte: 127

    The thing is that when you assign 128 to a byte it will in fact be -128 as the sign bit changes and 129 will effectively be -127, 130 will...
Results 1 to 2 of 2