Trane Technologies interview question

What's the difference between a class and an interface?