Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package comp;
- /**
- *
- */
- /**
- * @author vd012836
- *
- */
- public class gen {
- public static void main(String[] args)
- {
- String result;
- stack myStack = new stack(5);
- myStack.push("+");
- myStack.push("6");
- myStack.push("*");
- myStack.push("5");
- myStack.push("5");
- result = myStack.execute();
- System.out.println("DONE");
- System.out.println(result);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement