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