Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In JDK 1.6.0_10, the output of this code is 10.(the reason is the same as the above code example.)

Risk Assessment

We often use array list with primitive type, so it will exert  a potential security risk.

...