Core Java - Interview Questions and Answers for 'Hash collections' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3356 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.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Hash collections' - 3 question(s) found - Order By Newest

 Q1. Name few Hash collections classes and interfaces ?
Admin
info@buggybread.com
Ans. http://www.buggybread.com/2015/01/java-hash-collections-classes-and.html

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   collections   hash collections


Related Questions

 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  What is the difference between ArrayList and LinkedList ?
  Difference between TreeMap and HashMap ?
  Difference between HashMap and Hashtable?
  Can you provide some implementation of a Dictionary having large number of words ?
 Collections.sort can only be performed on ..

a. Set
b. List
c. Map
d. Any Collection implementation
  What is the difference between List, Set and Map ?

or

What are the different Java Collections Interfaces ?
  Difference between Vector and ArrayList ?
  What are strong, soft, weak and phantom references in Java ?
  What are the Disadvantages of using Collection Classes over Arrays ?


 Q2. What is collision in hash collections ?Core Java
Admin
info@buggybread.com
Ans. Collision is the situation when two different elements have the same Hash Code.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   collections   collision   hashcode  hash code   hash collections   ebay     Asked in 1 Companies      intermediate        frequent


Related Questions

 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  What is the difference between ArrayList and LinkedList ?
  Can you provide some implementation of a Dictionary having large number of words ?
 In a Linked list with sorted numbers, insert a new numbers while maintaining the sort order.
 Write a program for LinkedList, with method to append node and traversing the list ?
  What is the difference between Data Type and Data Structure ?
  Do you see Class as a Data Type or Data Structure ?
  How to determine if the linked list has a cycle in it ?
 Which Data Structure should be used for Load Balancer ?
 Which data structure would you recommend for ordered and sorted data?


 Q3. Do you feel that its useless to define hashCode method for a class ?Core Java2017-01-19 11:24:10

Ans. Yes its useless if we are not going to use its objects within Hash collection, For example - HashSet , HashMap. HashCode is used internally by these collections for Search.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     hashcode  hash collections


Related Questions

  Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
 Write a class and override the equals and hashcode method ?
 How many threads can access a concurrent hashmap when the hashcode is overridden and always returns a zero.




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this