public class StringStack
extends java.lang.Object
size
of them will be remembered in the stack. Use toString()
for getting the content of the stack.Constructor and Description |
---|
StringStack(int size) |
public java.lang.String toString()
toString
in class java.lang.Object
public void add(java.lang.String s)
public java.lang.String get(int i)
public void clear()
public int getSize()
public int getMaxSize()
public static void main(java.lang.String[] args)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.