public class Accessory {
	private String productNbr;
	private int price;
	private String name;
	private String info;
	// Skapar alla variablar för subklassen Accessory som är en subklass till Product.
	
	public String getProductNbr() {
		return productNbr;
	}
	public void setProductNbr(String productNbr) {
		this.productNbr = productNbr;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	
	// Skapar getter och setter!
}

@@ -1,12 +1,13 @@
+%0A
 public class
@@ -195,17 +195,189 @@
 roduct.%0A
-%09
+%0A%09public Accessory(String productNbr, int price, String name, String info)%7B%0A%09%09this.productNbr = productNbr;%0A%09%09this.price = price;%0A%09%09this.name = name;%0A%09%09this.info = info;%0A%09%7D%0A
 %0A%09public
@@ -821,17 +821,16 @@
 nfo;%0A%09%7D%0A
-%09
 %0A%09// Ska
@@ -854,8 +854,8 @@
 tter
-!
+.
 %0A%7D%0A

Update Accessory.java