Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class automatically has a static values method added by the compiler that returns an array containing all of the values of the enum in the order in which they were declared.

You will complete the Elements enumeration which declares elements with their symbols and melting points. Your tasks are as follows:

Table of melting points:

Element Symbol Melting Point
Hydrogen H -258.975
Oxygen O -222.65
Nitrogen N -209.86
Chlorine Cl -100.84
Mercury Hg -38.72
Potassium K 63.35
Sodium Na 98.0