forse ho cpt... serve per fare richiamare la parte di testo che andrà a stampare? infatti poi il codice
lo richiama tramite msg e mi dà il risultato. dico bene? ho notato che se cancello msg tutte le righe dove c'è printsituation vanno in errore.codice:privatesynchronizedvoid printSituation(String msg) { System.out.println(msg +"\n" + numberOfProducts + " Product in warehouse");