0
I don't understand this code. Would you explain it?
static int I = 0; static <T> void f (T x){ System.out.print(++I); } public static void main (String [] args){ f(2); f(2.0); f(2); }
1 Resposta
+ 1
oo, I see, thank you Blacks Bunny
static int I = 0; static <T> void f (T x){ System.out.print(++I); } public static void main (String [] args){ f(2); f(2.0); f(2); }