What is the difference between Integer and int?

Answer Posted / sumit

int is a premitive data type and integer is a class

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a instance variable in java?

541


What is get () in java?

557


How do you check if two strings are equal in java?

574


What is the purpose of nested class in java?

590


What are the three types of design patterns?

500






What is meant by flickering?

645


Can java program run without jre?

559


Can inner class have constructor?

537


Can one thread block the other thread?

598


Why is inheritance used in java?

595


What is a subsequence of a string?

537


Can we have multiple classes in a single file?

505


What is the purpose of using break in each case of switch statement?

559


What is meant by singleton class?

590


What are the advantages of inner classes?

499