示例#1
0
 //constructor to initialize the variables of object
 public StockNode(Stock stockHolding)
 {
     StockHolding = stockHolding;
     Next         = null;
 }
示例#2
0
 // default constructor
 public StockNode()
 {
     StockHolding = null;
     Next         = null;
 }