{"id":124970,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/java-programming"},"modified":"2017-08-16T06:01:27","modified_gmt":"2017-08-16T06:01:27","slug":"java-programming","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/java-programming\/","title":{"rendered":"Java Programming"},"content":{"rendered":"<div class=\"the_content_wrapper\">\n<p>Java Programming<\/p>\n<p>Part 1: Implement a superclass BankAccount that has the following fields and methods.<\/p>\n<p>Fields:<\/p>\n<p>String firstName<br \/> String lastName<br \/> Int accountID<br \/> double balance<br \/> Methods:<\/p>\n<p>Constructor(): initialize balance to zero<br \/> deposit() \u2013 will accept a single value double parameter; the parameter value is added to the existing balance<br \/> withdrawal() \u2013 accepts a single value double dollar amount; the parameter value is subtracted from the existing balance<br \/> Setters and getters for firstName, lastName, and accountID<br \/> getBalance() getter to return the balance<br \/> accountSummary() \u2013 prints all account information<br \/> Part 2: Implement a CheckingAccount class that inherits from the BankAccount class.<\/p>\n<p>Has an interest rate attribute<br \/> Allows overdraft withdrawals and charges a $30 free<br \/> Methods:<\/p>\n<p>processWithdrawal() \u2013 will display a negative balance that includes $30 overdraft fee and denotes that a fee has been accessed<br \/> displayAccount() \u2013 should display all superclass attributes and provide additional interest rate<br \/> Ensure that your program has the two required classes and a test class. Submit screenshots of your program\u2019s execution and output. Include all appropriate source code<br \/> in a zip file.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Java Programming Part 1: Implement a superclass BankAccount that has the following fields and methods. Fields: String firstName String lastName Int accountID double balance Methods: Constructor(): initialize balance to zero deposit() \u2013 will accept a single value double parameter; the <a href=\"https:\/\/www.benedictsol.com\/blogs\/java-programming\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-124970","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=124970"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124970\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=124970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=124970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=124970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}