//constructor to initialize the variables of object public StockNode(Stock stockHolding) { StockHolding = stockHolding; Next = null; }
//Constructor for initialization public StockList() { this.head = null; }
// default constructor public StockNode() { StockHolding = null; Next = null; }