PPT-Folie
public void push (int x)
{ if (! this.is_full())
stack[top_pt++] = x ;
else
System.err.println("push on full stack!") ; }
public static void main (String [] args)
{ ... }
} //IntStack
Vorherige Folie
Nächste Folie
Zurück zur ersten Folie
Graphik-Version anzeigen