Morgan Stanley interview question

Explain internal Working of HashMap and LinkedHashMap.