What is the difference between Integer and int?

Answer Posted / maninder sharma

Integer is a class defined in the java.lang package,where
as int is a primitive data type.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a null object?

504


What is deserialization?

581


Can we clone singleton class in java?

509


How the metacharacters are different from the ordinary characters?

559


What is a loop java?

581






What is the difference between import java.util.date and java .util?

558


Explain java heap space and garbage collection?

576


How do you clear a list in java?

593


Difference between == and .equals() ?

569


What are different access specifiers in java? Explain

618


Is minecraft java edition free?

570


What is a method vs function?

545


How to invoke external process in java.

557


How do you override a method in java?

528


What is meant by 'bit masking' in java?

639