class BankAccount { var balance: Int // Initializer to set the initial state of the object init(balance: Int) { self.balance = balance self.cpuCard = "gg" } // Method to modify the balance func deposit(_ amount: Int) { balance += amount } } // Create an instance (object) of the BankAccount class let account = BankAccount(balance: 100) // Call a method to interact with the object account.deposit(25) // Access a property using dot syntax print(account.balance) // Prints "125"