0
I’m trying to do this exercise and it returns this error:
Cannot make a Static Reference to the non-static method triple(int) from the type Minhasfuncoes
public class MinhasFuncoes {
public int triplo(int numero){
return numero * 3;
}
public static void main(String[]args) {
System.out.println(triplo(3));
}
}
Thanks!! Thank you
– Gui7