public interface Chemical
{
    
}
@@ -4,31 +4,556 @@
 lic 
-interface Chemical%0A%7B%0A    
+class Chemical%0A%7B%0A    public Chemical (String name)%0A    %7B%0A        _name = name;%0A    %7D%0A%0A    public final String getName ()%0A    %7B%0A        return _name;%0A    %7D%0A%0A    @Override%0A    public String toString ()%0A    %7B%0A        return _name;%0A    %7D%0A%0A    @Override%0A    public boolean equals (Object obj)%0A    %7B%0A        if (obj == null)%0A            return false;%0A%0A        if (obj instanceof Chemical)%0A        %7B%0A            Chemical temp = (Chemical) obj;%0A%0A            return (temp._name.equals(_name));%0A        %7D%0A%0A        return false;%0A    %7D%0A%0A    private String _name;
 %0A%7D

Update Chemical.java