Advertisement
hesl

PostfixMain

Dec 15th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. // File name: Main.java
  2.  
  3. public class Main {
  4.     private static String postfixRepr(Expression e) {
  5.         // TODO: implement this
  6.         return "Postfix not implemented!";
  7.     }
  8.  
  9.     private static String infixRepr(Expression e) {
  10.         // TODO: implement this
  11.         return "Infix not implemented";
  12.     }
  13.  
  14.     public static void main(String[] args) {
  15.         System.out.println(postfixRepr(Expression.EXAMPLE_1));
  16.         System.out.println(infixRepr(Expression.EXAMPLE_2));
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement