private static void object_array(){
		int testsize = 11;
		//Integer part
		
		GenericStack_array<Integer> intarray = new GenericStack_array<Integer>(testsize);		
		
		for(int i = 0; i < testsize; i++){
			intarray.push(i);
			System.out.println("position = "+intarray.position+" ; Value = "+i);
		}
		
		System.out.println("-------------------------------------");
		
		for(int i = 0; i < testsize; i++){
			Object result = intarray.pop();
			System.out.println("position = "+intarray.position+" ; Value = "+result);
		}
		
		
		System.out.println("##-------------------------------------##");
		//String part
		
		GenericStack_array<String> stringarray = new GenericStack_array<String>(testsize);		
		
		for(int i = 0; i < testsize; i++){
			stringarray.push("string"+i);
			System.out.println("position = "+stringarray.position+" ; Value = "+i);
		}
		
		System.out.println("-------------------------------------");
		
		for(int i = 0; i < testsize; i++){
			Object result = stringarray.pop();
			System.out.println("position = "+stringarray.position+" ; Value = "+result);
		}
		
	}