Do you know that? 38% freelancers want to open a small business next

Can a class be defined inside an Interface?

Yes it's possible.