言語に対応 見える化されたソースコードによる開発で、生産性や品質の向上が見込めます! import java.util.HashMap; import java.util.Map; public class Bank { private Map<String, Account> accounts; public Bank() { accounts = new HashMap<>(); } public void createAccount(String accountNumber) { if (!accounts.containsKey(accountNumber)) { Account newAccount = new Account(accountNumber); accounts.put(accountNumber, newAccount); System.out.println("口座 " + accountNumber + " が作成されました。"); } else { System.out.println("この口座番号は既に存在します。"); } } public class Account { private String accountNumber; private double balance; public Account(String accountNumber) { this.accountNumber = accountNumber; this.balance = 0.0; } public class Main { public static void main(String[] args) { Bank bank = new Bank(); bank.createAccount("12345"); bank.depositToAccount("12345", 1000); bank.withdrawFromAccount("12345", 500); bank.showBalance("12345"); } } ① ② ③