The method declaration on line 6 has no problem.
Line 3 and 4 will not compile because the doStuff() method takes in an Array object, but in one method call you give it an int primitive, and the other method call you give it 2 int primitives.
As Ulf said, why did you not try and compile it yourself? Don't get me wrong I am delighted when people ask questions (it's why I visit), but I find it an odd question "will this code compile". If you are not constantly attempting to compile code yourself you are missing out on one of the finest learning tools.