package dan.ho.serial;

/**
 * Created by Elmira on 21.01.2017.
 */
public class Item {
    private String name;
    private int price;

    public Item(String name, int price) {
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

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

@@ -5,21 +5,13 @@
 age 
-dan.ho.serial
+myapp
 ;%0D%0A%0D

Update Item.java