Salvataggio conti correnti
This commit is contained in:
@@ -6,6 +6,7 @@ package mybank;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -32,7 +33,11 @@ public class ContoCorrente {
|
||||
numeriContiCorrenti.add(numeroContoCorrente);
|
||||
}
|
||||
|
||||
public static ArrayList<Integer> getNumeriContiCorrenti() {
|
||||
public static List<Integer> getNumeriContiCorrenti() {
|
||||
return numeriContiCorrenti;
|
||||
}
|
||||
|
||||
public int getNumeroContoCorrente() {
|
||||
return numeroContoCorrente;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user