Citi interview question

Describe the difference between an object and an interface.

Interview Answer

Anonymous

17 Feb 2015

Object is an instance of a class which can have many different attributes such as size and color. Interface is a type of class which has many methods left un-implemented and serves to tell the programmer to implement a class from the interface which implements all the methods in the interface.

6