Variable of int and Integer will act almost the sa...
# getting-started
d
Variable of int and Integer will act almost the same. Despite of being a reference type, Integer is immutable, therefore it acts almost like a value type.