Imagine you are tasked with creating a simple banking system for a local bank. The bank wants to track basic information about customer accounts and provide functionality for deposits, withdrawals, and balance inquiries.
Implement a BankAccount class with the following attributes:
accountNumber (String)balance (double)The class should have methods for: