sem2/oop/oop_exercises/src/main/java/ch/hslu/oop/sw03/Element.java
<filename>sem2/oop/oop_exercises/src/main/java/ch/hslu/oop/sw03/Element.javapackage ch.hslu.oop.sw03;

public class Element {
    private double meltingTemperatureCelsius;
    private double boilingTemperatureCelsius;
    private String elementCode;

    public Element(String elementCode, int meltingTemperatureCelsius, int boilingTemperatureCelsius) {
        this.elementCode = elementCode;
        this.meltingTemperatureCelsius = meltingTemperatureCelsius;
        this.boilingTemperatureCelsius = boilingTemperatureCelsius;
    }

    public double getMeltingTemperatureCelsius() {
        return this.meltingTemperatureCelsius;
    }

    public double getBoilingTemperatureCelsius() {
        return boilingTemperatureCelsius;
    }
}
