Tag: int vs int

int vs Integer Java

May 4, 2013 · 3 min read
###### For a new learner of Java, it does not make any difference between int vs integer. He uses both just to refer a data type int. But he gets surprised once he comes to know there is a class called **Integer** in Java placed in **[java.lang](http://way2java.com/java-lang/introduction-%e2%80%93-java-lang-package/)** package.