This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.uzhnu.homework; | |
public class Driver { | |
public static void main(String[] args) { | |
String a[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19","20"}; | |
//String a[] = {"0"}; | |
Stack my_stack = new Stack(); | |
Stack my_stack2 = new Stack(a); | |
Stack my_stack3 = new Stack(a); | |
for(int n=0; n<10; n++){ |