Pregunta de entrevista de MathWorks

On phone: - Which data structure will you use to implement the mathematical set? - What is the difference between synchronized and volatile java keywords? - What is the EDT (event dispatch thread) and how does it work?