Pergunta de entrevista da empresa Rockall Technologies

What is the difference between an arraylist and a set in Java?