nie wiem co tutaj robie zle ?
package pl.codegym.task.task12.task1230;
/*
Strzał w dziesiątkę
*/
public class Solution {
public static void main(String[] args) {
Integer i = 5;
Integer a = 2;
//int x = transformValue(i);
int x = transformValue(i, a); //<-- adding arguments not allowed in task.
System.out.println(x);
}
public static int transformValue(Integer i) {
return i * i;
}
public static int transformValue(int i, Integer a) {
return i * a;
}
}