Interface is not entirely a class its a contract.. you dont usually see lengthy line of coding, you see just a method declared without anything inside...
When u implement a interface into a class u should definitely use the method that declare in interface, so every coding inside the class u implement not inside interface...