Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // File name: Main.java
- public class Main {
- private static String postfixRepr(Expression e) {
- // TODO: implement this
- return "Postfix not implemented!";
- }
- private static String infixRepr(Expression e) {
- // TODO: implement this
- return "Infix not implemented";
- }
- public static void main(String[] args) {
- System.out.println(postfixRepr(Expression.EXAMPLE_1));
- System.out.println(infixRepr(Expression.EXAMPLE_2));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement