What is the difference between
Integer and int?
a) Integer is a class
defined in the java. lang package, whereas int is a primitive data type defined
in the Java language itself. Java does not automatically convert from one to
the other.
Blog Author: Vijay Kumar
No comments:
Post a Comment