package study; import java.util.Scanner; public class ATM { private static int[] users = { 111111, 222222, 333333, 444444, 555555, 666666, 777777, 888888, 999999 };// 定义数据库账户组 private static int[] passwords = { 111111, 222222, 333333, 444444, 555555,…