What is the difference between Integer and int?

Answer Posted / abc

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

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean used for?

583


Is a case study a method or methodology?

456


How dead lock situation occurs in java and how you can identify it?

534


List down the methods and interfaces of collection class in java.

533


How do you check if a character in a string is a digit or letter?

501






Describe the various concepts related to object oriented programming (oop).

578


Write a program to reverse array in place?

578


What are the differences between graph and tree?

641


Can we make the abstract methods static in java?

579


When should I use singleton?

514


Can a list be null in java?

533


worst case complexities of Quick sort and Merge sort.

587


Is array synchronized in java?

546


What is a string what operation can be performed out with the help of a string?

502


Why char array is preferred over string for storing password?

576