This commit is contained in:
Orange 2016-11-21 11:37:41 +01:00
parent b243b0fa31
commit f5d4e736c1

View File

@ -24,7 +24,7 @@ public class Operaio extends Dipendente{
if(oreLavoro>165)
return ((oreLavoro-165)*0.3+165)*super.getPaga();
else
return oreLavoro*super.getPaga();
return super.calcoloPaga();
}
public static Operaio read(Scanner sc) throws Exception{