Java Int to String

  • + 2 comments

    I used your answer and getting this error.

    Solution.java:8: error: 'try' without 'catch', 'finally' or resource declarations
      try {
      ^
    Solution.java:22: error: illegal start of type
      } catch (DoNotTerminate.ExitTrappedException e) {
        ^
    Solution.java:26: error: class, interface, or enum expected
    }
    ^
    3 errors