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

Difference between string, string builder, and string buffer?

526


What do you mean by object?

548


What is the reflection?

561


What will happen if static modifier is removed from the signature of the main method?

523


Why is string builder not thread safe?

591






Explain about oops concepts.

634


Explain a few methods of overloading best practices in java?

510


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

530


Can java inner class be static?

557


What are the advantages of user defined functions?

558


What is the use of isempty in java?

535


What are "methods" and "fields"?

572


How do you detect memory leaks?

579


What about anonymous inner classes in java?

559


What is an accessor?

1049