New to python if you can add screenshort also, i am using python 3

UML Diagram:

Python Program:
class Account:
""" Account class """
def __init__(self, id=0, bal=100, intRate=0):
""" Default Constructor """
self._id = id;
self._bal = bal;
self._intRate = intRate;
def setId(self, id):
""" Setter method for id """
self._id = id;
def getId(self):
""" Getter method for id """
return self._id;
def setBal(self, bal):
""" Setter method for balance
"""
self._bal = bal;
def getBal(self):
""" Getter method for balance
"""
return self._bal;
def setIntRate(self, intRate):
""" Setter method for interest rate
"""
self._intRate = intRate;
def getIntRate(self):
""" Getter method for interest rate
"""
return self._intRate;
def getMonthlyInterestRate(self):
""" Calculates monthly interest
rate """
return (self._intRate / 12)
def getMonthlyInterest(self):
""" Calculates monthly interest
"""
return (self._bal *
(self.getMonthlyInterestRate()/100))
def withdraw(self, amt):
""" Withdraw amount """
if self._bal < amt:
print("\n
Insufficient funds.. \n");
else:
# Updating
balance
self._bal =
self._bal - amt;
def deposit(self, amt):
""" Deposit amount """
# Updating balance
self._bal = self._bal + amt;
""" Test Program """
# Testing account class
acc = Account(1122, 20000, 4.5)
acc.withdraw(2500)
acc.deposit(3000)
#Printing results
print("\n\n ID: " + str(acc.getId()))
print("\n Balance: $" + str(acc.getBal()))
print("\n Monthly Interest Rate: $" +
str(acc.getMonthlyInterestRate()))
print("\n Monthly Interest: $" + str(acc.getMonthlyInterest()) + "
\n")
______________________________________________________________________________________________
Code Screenshot:


__________________________________________________________________________________________
Sample Run:

New to python if you can add screenshort also, i am using python 3 7.3 (The...
This is for java programming Please Show plenty of comments so I can follow the steps Design a class named Account that contains: • A private int data field named id for the account (default 0) • A private double data field named balance for the account (default 0) • A private double data field named annualInterestRate that stores the current interest rate (default 0). Assume all accounts have the same interest rate. • A private Date data field named...
9.7 (The Account class) Design a class named Account that contains: • A private int data field named id for the account (default o). • A private double data field named balance for the account (default o). • A private double data field named annualInterestRate that stores the current interest rate (default o). Assume that all accounts have the same interest rate. • A private Date data field named dateCreated that stores the date when the account was created. •...
PYTHON PROGRAMMING LANGUAGE
Design a class named Savings Account that contains: A private int data field named id for the savings account. A private float data field named balance for the savings account. A private float data field named annuallnterestRate that stores the current interest rate. A_init_ that creates an account with the specified id (default 0), initial balance (default 100), and annual interest rate (default 0). . The accessor and mutator methods for id, balance, and annuallnterestRate. A method...
(The Account class) Design a class named Account that contains: A private int data field named id for the account (default 0). A private double data field named balance for the account (default 0). A private double data field named annualInterestRate that stores the current interest rate (default 0). Assume all accounts have the same interest rate. A private Date data field named dateCreated that stores the date when the account was created. A no-arg constructor that creates a default...
Design a class that contains: we have to make 3 files header file , one .cpp file for function and one more main cpp file 9.3 (The Account class) Design a class named Account that contains: An int data field named id for the account. A double data field named balance for the account. A double data field named annualInterestRate that stores the current interest rate. A no-arg constructor that creates a default account with id 0, balance 0, and...
Design a class named BankAccount that contains: 1. A private int data field named accountId for the account. 2. A private double data field named accountBalance for the account (default 0). 3. A private double data field named annualInterestRate that stores the current interest rate (default 0). Assume all accounts have the same interest rate. 4. A private Date data field named dateCreated that stores the date when the account was created. 5. A private int data field named numberOfDeposits...
Consider the following Account class and main function: class Account: acct_num=1000 #Constructor for Account class (default values for balance #and annual interest rate are 100 and e, respectively). #INITIALIZER METHOD HEADER GOES HERE #MISSING CODE def getId(self): return self._id def getBalance(self): #MISSING CODE def getAnnualInterestRate(self): return self.___annualInterestRate def setBalance(self, balance): self. balance - balance def setAnnualInterestRate(self,rate): #MISSING CODE def getMonthlyInterestRate(self): return self. annualInterestRate/12 def getMonthlyInterest (self): #MISSING CODE def withdraw(self, amount): #MISSING CODE det getAnnualInterestRate(self): return self. annualInterestRate def setBalance(self,...
Unable to find out why am I getting: Account.java:85: error: reached end of file while parsing import java.util.*; class Account{ private int id; private double balance; private double annualInterestRate; private Date dateCreated; public Account() { id = 0; balance = 0; annualInterestRate = 0; dateCreated = new Date(); } public Account(int id1, double balance1) { id =id1; balance = balance1; dateCreated = new Date(); } public void setId(int id1) { id=id1; } public void setBalance(double balance1) { balance = balance1;...
IN JAVAThe code is attached below has the Account class that was designed to model a bank account. An account has the properties account number, balance, annual interest rate, and date created, and methods to deposit and withdraw funds. I need creat program using the 2 java programs.Create two subclasses for checking and savings accounts. A checking account has an overdraft limit, but a savings account cannot be overdrawn.I need to write a test program that creates objects of Account,...
Hello, I'm very new to programming and I'm running into a problem with the system.out.println function in the TestAccount Class pasted below. Account Class: import java.util.Date; public class Account { private int accountId; private double accountBalance, annualInterestRate; private Date dateCreated; public Account(int id, double balance) { id = accountId; balance = accountBalance; dateCreated = new Date(); } public Account() { dateCreated = new Date(); } public int getId() { return...