fork download
  1. class Main {
  2. public static void main (String[] args) {
  3. String x = teste().toString();
  4. System.out.println(x);
  5. }
  6. public static Integer teste() {
  7. return 42;
  8. }
  9. }
  10.  
  11. //https://pt.stackoverflow.com/q/137323/101
Success #stdin #stdout 0.06s 32496KB
stdin
Standard input is empty
stdout
42