Morgan Stanley Interview Question

Explain internal Working of HashMap and LinkedHashMap.