My friend suggest to use stack(pop and push concept) in my program and i surf for it and found it is in java.lang.Object. The push method declare as push(Object item). Actually i want to push a
string into the stack. But in this method, it used object type as an item. Is is string can be known as object? And how to implement in. The normal
java program as declare, define and create is in stack, we do the same way. How?
I really want to understand the flow of concpet in stack rather than use array to save a few string.