Added example for interfaces and classes