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); } }
2 Answers
+ 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.
0
Thanks for helping. You are right, something wrong at server side.