What is the difference between Integer and int?

Answer Posted / duryodhan

int is a primitive data type & integer is a wapper class object which define in java.lang package.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parse method?

527


What are inbuilt functions?

559


What does system out println () do?

551


What is nested top-level class?

570


Explain the differences between abstraction and encapsulation?

510






what is the difference between process and thread? : Java thread

555


What is private static in java?

571


What is the difference in between cpp and java? Can u explain in detail?

598


Is .net better than java?

548


Is string pool garbage collected?

538


What is arrays sort in java?

566


What is a substitution variable?

555


What is java reflection?

529


What is a JAR file?

584


What is lazy initialization in java?

548