0

Why does my output says Memory full?

public class Program { static int sum(int x,int y){ return x+y; } public static void main(String[] args) { int i = sum(3,4); System.out.println(i); } }

19th Jul 2018, 10:44 AM
Parth Salat
Parth Salat - avatar
2 ответов
+ 1
Works fine for me, when I run your code in the playground. Have you tried it again? Maybe there was something wrong at server side.
19th Jul 2018, 10:53 AM
Matthias
Matthias - avatar
0
Thanks for helping. You are right, something wrong at server side.
19th Jul 2018, 10:57 AM
Parth Salat
Parth Salat - avatar