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 a method signature java?

562


What is pangram in java?

505


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

1809


What is void in java?

581


Is jdk required on each machine to run a java program?

736






How many bytes is a string?

556


What happens if a constructor is declared private?

522


difference between byte stream class and character stream class?

4075


Explain importance of finally block in java?

572


Is alive method in java?

500


What is singletonlist in java?

501


What is the difference between compile-time polymorphism and runtime polymorphism?

557


What are memory tables?

601


Explain illegalmonitorstateexception and when it will be thrown?

602


How do you check if two given string are anagrams?

546