Avathon interview question

what's the difference between classes in python and Java?