Narayana Tutorial

Online Java Tutorial Blog

Tag: Java Collection

One of the IT Companies Java Interview Questions and Answers-1

One of the IT Companies Java Interview Questions and Answers-1   1)  How many objects will be created for the following scenario? Integer a1=10; Integer a1=10; Integer a1=20; Integer a1=15; Ans: 3 objects will be created. Explanation: Java storing value in the cache and while initialization will check in the cache, if it is exist […]

Java Collection Framework Interview Questions and Answers

Here I am going to sharing list of Java Collection Framework Interview Questions and Answers. Which are asking in the interview frequently. Java Collection Framework Interview Questions and Answers   NarayanaswamyHello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in IT industry more than 7 years. NarayanaTutorial is my web technologies […]

What is difference between Vector and ArrayList in Java?

Classes and Objects interview questions

Here is list of my favorite, frequently asked Questions from Java collection framework. Almost all of these questions have appeared in Java interview at various level ranging from Junior to Senior software engineer level. ArrayList and Vector are two of most used class on java collection package What is difference between Vector and ArrayList in Java? […]

What is difference between List, Set and Map

Classes and Objects interview questions

1. What is difference between List, Set and Map? List List is an ordered collection. List allows duplicate elements. List allows null elements and also store many null elements because it allows duplicate elements. The following most useful classes implementing List interface 1. ArrayList  2. LinkedList  3. Vector Set Set is unordered collection. Set does not […]

Narayana Tutorial © 2018 Frontier Theme
Show Button
Hide Button