Marlabs interview question

what is an interface

Interview Answers

Anonymous

May 10, 2017

The interface in java is a mechanism to achieve abstraction. Methods in an interface do not have any implementation and they support multiple inheritance in Java.

Anonymous

Jul 5, 2017

Interface is a fully unimplemented class used for declaring set of object operations.You can go for interface if you know object has different implementation.