It looks like
Java does some behind the scenes things so I can almost think of Integer and int as being the same - correct?
For example, I have a HashMap<
String, Integer> called numberMap.
According to the java
doc, when I do numberMap.get(Key), an object is returned. But I can stick the returned value into int no problem.
Is java basically helping me out here by letting me be sloppy with int vs Integer? Or is there something else happening?
Thanks for any helpful comments folks can provide on this.
Thanks!