0
What put put results from this code ?
public static void main (string [ ] args) { dosomthing (4) } static void dosomthing (int x){ systeme. out.println(x*x); }
5 Respostas
+ 5
Compilation error ^^
+ 2
16
+ 1
16
+ 1
class Program {
public static void main(String[ ] args)
{
dosomthing(4);
}
static void dosomthing (int x){
System.out.println(x*x);
}
}
//Correct code
0
16