Ora ho messo così:
If(Inters.uguali(a1, a2))
nEl++
else
...
però la JVM mi dice
error: method uguali in class Inters cannot be applied to given types; if(Inters.uguali(a1,a2))
^
required: int[],int[]
found: no arguments
reason: actual and formal argument lists differ in length
perchè?