What is the difference between Integer and int?
Answer Posted / k.santosh kumar
int is a primitive data type , where as Integer is a class
which encapsulates the primitive int data type and
represents in terms of object.
Is This Answer Correct ? | 35 Yes | 6 No |
Post New Answer View All Answers
What is the use of default method in interface in java? Explain
What is final, finally, finalize?
How finally used under exception handling?
What is the byte order of byte buffer?
What is udp in java?
What is the base class for error and exception?
What do you understand by the term wrapper classes?
How many bits is a string in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What is an exception in java?
Does java return by reference?
What is a classloader in java?
How to avoid memory leak in java?
Can list be null in java?
Is singleton thread safe in java?