E3 Technologies interview question

What is the difference between interface and trait