why i can access my method in the subclass???
Code:<code>
public abstract class StockItem implements Comparable, Identifiable{
protected int category; //category of the product could be electrical, dress, or food
public StockItem(int category){
this.category = category;
}
de>

