What is the difference between Integer and int?

Answer Posted / krutika

y is int i=new Integer(4); correct??

Is This Answer Correct ?    3 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are keywords and reserved words in java?

549


How does arraylist size increase in java?

527


Can we have any code between try and catch blocks?

551


How will you add panel to a frame?

639


What is balanced tree in java?

524






What is difference between this and super keyword?

506


Can we convert list to set in java?

505


Is java call by reference?

523


How do you differentiate abstract class from interface?

523


What is a static method in java?

530


When do I need to use reflection feature in java?

620


How do you change an int to a string?

542


What does n mean?

515


What are the three parts of a lambda expression?

524


What is a stringbuilder?

499