Can use Stack Class Collection instead of making Functioncalss ofStack

Like in earlier lecture we made Stack class first and then acessed its function. Can we do that work directly using Stack Collection.