Java Interview Question And Answer Iterator HashTable HashMap Vector ArrayList Explain With Example

preview_player
Показать описание

"www.InterviewDOT.com - Job Portal"
----------------------------------
Java Freshers - Core Java Interview Questions And Answers :
----------------------------------------------------------

1. Difference between ArrayList and Vector ?
Vector methods are synchronized while ArrayList methods are not

2. Iterator a Class or Interface? What is its use ?
Iterator is an interface which is used to step through the elements of a Collection

3. Difference between Hashtable and HashMap ?
Hashtable does not store null value, while HashMap does
Hashtable is synchronized, while HashMap is not

A Job Portal

Other Top Job Portals

Are you looking for a new Job ?
Рекомендации по теме