News

Consider the java.util.Map interface, which describes a map (a collection of key-value pairs). The Map interface abstracts what it means to be a map.
By using Java interfaces, you can avoid problems that could arise from relying on implementation classes. ... List, Map and many others. Drawable declares five fields that identify color constants.