代做programming language作业、代写Java实验作业、Java编程设计作业调试、代做JOptionPane作业帮做Java程序|帮做Hask

COURSEWORK SPECIFICATION OBJECTIVES This assignment aims to provide you with some experience in writing codes using Java programming language that covers the following topics: Class and Objects Remember that: 1.All programs should be able to run on the lab’s computers. 2.You must put the following information on the header of each text and source file you will be submitting in this assignment: Student’s full name: Student’s ID: Modification Date: Purpose of this file (or program): 3.Assignments that are not able to be compiled will result in zero mark given to the assignment. 4.You must only use the Java features that have already been covered in the lectures �Question �For this assignment, you are required to write a Java application using class to simulate the operations performed on a bank account. However, this simulation is restricted to only one or two accounts. You are not required to use any collections or array for this assignment. You will start with creating a class called SavingsAccount to represent the savings account for a customer. A SavingsAccount object should have the following fields: the account number the name of the account owner balance available the account status (either active or inactive) the interest rate a monthly service charge You are not allowed to add other fields to the class. �The class should have the following methods:�a default constructor that will initialize the account number to 99999, the name to null, the status to “active” and the remaining fields to zero. a constructor with arguments that will have parameters to receive an account number, name, and an initial deposit. The status should be set to “active” and the rest of the fields should be made zero. mutator methods for the interest rate and the monthly service charge separately. accessor methods for each field that will return the value of the field. a method to perform withdrawal operation that receives the amount to be withdrawn. It should not perform the withdrawal if there is not enough balance in the account or the account has an “inactive” status. In either case this method should return a boolean value false to indicate an unsuccessful operation. If a withdrawal can be made, the balance should be deducted with the amount given and a boolean value true will be returned. If the balance of the account falls below RM25 after the withdrawal is done, it becomes “inactive”. a method to perform deposit operation that receives amount to be deposited to the account. It should not accept any value less than RM1.00. If the account status is “inactive” and the deposit has raise the balance above RM25, the account should be made “active” again. This method should return a boolean value true if the operation is successful and false otherwise. ?a method to perform a monthly procedure that will add to the account the interest amount and minus from the account the monthly service charge. After these operations have been done, a check should be done to the account balance to see if the status should be changed according to the same rule mentioned above. You can use the class diagram below as guideline. However, the accessor methods are not shown in the diagram. You are required to add them yourself.�SavingsAccount -accountNumber : int -name : String -balance : double -status : String -interestRate : double -serviceCharge : double �+ SavingsAccount() + SavingsAccount(int, String, double) + setInterestRate(double) : void + setServiceCharge(double) : void + withdraw(double) : boolean + deposit(double) : boolean + monthlyProcedure() : void //accessor methods for each fields Next, write a class called AccountApp that will have a main() method to perform the simulation of the account operations. You should provide a menu for the user to choose from. A sample menu is shown below: �Main Menu 1– Create a new account 2– Deposit 3– Withdraw 4– Monthly Procedure 0 – Exit Enter your option: �Allow the user to repeatedly perform various operations until the user chooses to exit from the application. Make sure you include necessary validations in your SavingsAccount class and main() method. Use meaningful comments and identifiers in your code. Avoid repetitive codes as much as possible and make your program readable. You should also be creative in presenting your output. You may display your output on the console or use JOptionPane dialog boxes.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(代做programming language作业、代写Java实验作业、Java编程设计作业调试、代做JOptionPane作业帮做Java程序|帮做Hask)