From the layman to professional

środa, 21 listopada 2012

Collection interview question:

1. How TreeMap works in Java
       a) How to use Comparator and Comparable in Java
2. How HashMap works in Java
       a) How to override hashCode method
       b) How to override equals method 
             - Best practices to avoid NPE
3. How HashSet works in Java
4. Difference between HashMap and HashTable
5. Difference between List and Set in Java
6. What is Iterator and ListIterator
7. What is the difference between fail-fast and fail-safe Iterator
8. Different between synchronized collection and Concurrent collection
9. Difference between Iterator and Enumeration
10. How do you sort objects on collection
11. Difference between ArrayList and Vector (How ArrayList works)
12. Difference between HashSet and HashMap
Autor: Unknown o 10:24
Wyślij pocztą e-mailWrzuć na blogaUdostępnij w XUdostępnij w usłudze FacebookUdostępnij w serwisie Pinterest

Brak komentarzy:

Prześlij komentarz

Nowszy post Starszy post Strona główna
Subskrybuj: Komentarze do posta (Atom)

Archiwum bloga

  • ►  2017 (2)
    • ►  maja (1)
    • ►  kwietnia (1)
  • ►  2016 (3)
    • ►  października (3)
  • ►  2015 (2)
    • ►  marca (2)
  • ►  2013 (2)
    • ►  stycznia (2)
  • ▼  2012 (9)
    • ►  grudnia (1)
    • ▼  listopada (3)
      • Thread interview questions:  Why wait, notify a...
      • Collection interview question: 1. How TreeMap w...
      • Some interesting interview questions
    • ►  października (3)
    • ►  września (2)

O mnie

Unknown
Wyświetl mój pełny profil
Motyw Okno obrazu. Obsługiwane przez usługę Blogger.