29

Java:
Integer value = null;

value + 100 --> null100

😒

Comments
  • 3
    That is only true in the context of String concatenation. Otherwise, it is an outright NPE due to unboxing :-(
  • 1
    If u initialise value variable as string say 'abc' then also it contcate them
    This shows how value contacte null and value
Add Comment