What is the difference between Integer and int?

Answer Posted / tapan kumar

int is a primitive type by the int we can set and read the
value but Integer is a wrapper class type u can use for
finding the length and for size .

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string made of?

531


Explain an intermediate language?

507


What are the main differences between the java platform and other platforms?

528


What are the two types of java programming?

536


What is function overriding and overloading in java?

582






What is the argument in java?

495


What are the 4 types of characters?

543


What are parsers? Dom vs sax parser.

557


Why is the main method declared static?

588


What is nan inf?

507


What is natural ordering in java?

527


What is the difference between Grid and Gridbaglayout?

583


Can a lock be acquired on a class in java programming?

534


How to provide security in java

1805


Can we call virtual funciton in a constructor ?

1777