hello dears,
please can anyone correct my java error, when i run bellow java source code error cause as can not find symbol.
public class StackApp{
public static void main (String arg[]) {
StackX theStack = new StackX(10);
theStack.push(20);
theStack.push(40);
theStack.push(60);
theStack.push(80);
System.out.println("Value at top : " + theStack.peek());
System.out.println("Is Full at begining : " + theStack.isFull());
while (!theStack.isEmpty()) {
long value = theStack.pop();
System.out.print(value);
System.out.print(" ");
}
System.out.println("");
System.out.println("Is Full at begining : " + theStack.isFull());
}
}