Search Interview Questions
| 3306 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. If we don't declare the list to be of specific type, it treats it as list of objects.|
int 1 is auto boxed to Integer and "1" is String and hence both are objects.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   collections   arraylist   list   autoboxing   wrapper classes expert   rare|
|What are concepts introduced with Java 5 ?|
|Explain Autoboxing ?|