Is melt used to mean the same thing in the next two sentences?

When the weather is warm, the snowman will disappear; he will melt.

The wax melted in the sun.
the same meaning