Serializable{

    private double price; //价格
    private int country; //国家

    public double getPrice(){
        return price;
    }

    public void setPrice(double price){
        this.price = price;
    }

    public int getCountry(){
        return country;
    }

    public void setCountry(int country){
        this.country = country;
    }

}
</pre>




<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>