class Test { public getValue(a){ String x; Stack s = new Stack(); a=s; d; d.addElement("33"); x=x; return x; } }