Basic Java Homework - Object-Oriented

完了済み 投稿 Apr 30, 2014 着払い
完了済み 着払い

Homework 6: Object-Oriented Homework

Problem Description:

Create a BankAccount class. The account should have the instance variables, owner (type String), balance (type double) and annualInterestRate (type double). The interest rate should be the decimal representation of the interest. For example, if annual interest rate is 5%, annualInterestRate should contain 0.05.

The class should have a default (no-arg) constructor that sets the name to null and balance to zero, a second constructor should initialize owner, balance and annualInterestRate. Make sure there are accessor methods for ALL instance variables and mutator methods for owner and annualInterestRate. In addition, create methods for deposit(double amount) and withdraw(double amount) that change the balance of the account.

Create a second class, BankAccountTester with a main method. In the main method, create 2 instances of BankAccount named myAccount and yourAccount. Initialize myAccount with no-arg constructor and add your name as owner and an annualInterestRate of 2.5%. Then, deposit $6000 dollars and print information about the account.

The second instance named yourAccount should be initialized with the name “John Doe” as owner, an initial balance of $450.50 and an annual interest rate of 5%. Withdraw $25 and print the information about the account.

Information about yourAccount should look as follows:

Owner: John Doe

Balance: $425.50

Interest Rate: 5%

Note that to print interest rate as percentage, you will need to multiply decimal representation by 100.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Please create two separate solution .java files, make the coding look different from each other but the solution still have to be correct.

Java

プロジェクトID: #5877673

プロジェクトについて

33個の提案 リモートプロジェクト アクティブ Apr 30, 2014

アワード:

it2051229

Hi, I would like to work with you again if you give me the opportunity. Let me know if you are interested so I can start. Thanks.

$20 USD 0日以内
(323レビュー)
6.6

33人のフリーランサーが、平均$25 で、この仕事に入札しています。

dobreiiita

Happy to help you out. Java Expert, work will be delivered within couple of hours of time. Contact to carry out the project Thanks Dobre

$20 USD 1日以内
(231件のレビュー)
6.8
msabouri

Aucune proposition n'a encore été fournie.

$29 USD 1日以内
(68件のレビュー)
5.7
rakib062

Hi, I am a graduate in CS and working as a Java programmer for 3+ years. I have done lots of assignments both in academic courses and in freelancer.com. I assure you of clean, efficient code with proper comment an もっと

$35 USD 1日以内
(27件のレビュー)
4.9
szymszteinsl

Hi! I a professional C/C++/C#/Java programmer. I can do this with highest satisfaction! Best Regards, Szymszteinsl

$50 USD 1日以内
(19件のレビュー)
5.0
cleanCode

Hello, Simple job, 2 simple solutions I will provide to you. Just give a good rating. All the best, Alex

$25 USD 0日以内
(16件のレビュー)
4.6
jeal4real

Hello , I am a very good JAVA Developer. I have worked on several projects both on freelancer and for companies in my country. I have also helped several students to get a distinction 'A' in their assignments and pr もっと

$30 USD 1日以内
(18件のレビュー)
4.6
pivn

let expert do this ............................................................................................................................

$25 USD 1日以内
(13件のレビュー)
4.1
jmadhead

Hi! I can done you project in few hours! Easy for me. Look my reviews, I finished several such projects.

$19 USD 1日以内
(5件のレビュー)
3.2
umarbsse

A proposal has not yet been provided

$15 USD 1日以内
(5件のレビュー)
3.2
stonechow

一个有效的提议尚未被提供

$24 USD 3日以内
(5件のレビュー)
3.0
ramihemang90

Hi Dear, I am java software engineer having experience of 1.6 years. I can do this job in one day. Do let me know for same Thanks & Regards Hemang Rami

$35 USD 1日以内
(3件のレビュー)
2.9
dk5

hi buddy, i have 2 years of experience in teaching and development of java.i have created projects like paint app, hotel management system, sales monitoring system, etc. i am ready to fulfill your requirement. so もっと

$30 USD 2日以内
(3件のレビュー)
2.7
ghorivipul97

hello I have 3+ year experience in java/j2ee. I have 2+ year work experience in Spring 3.x and Hibernate 4.x. I am very comfortable with external jar file. I am also very comfortable with mvc n-tire architecture. もっと

$30 USD 2日以内
(4件のレビュー)
3.1
cungthehung

Hi. Certainly i can complete it for you with that price. I have done 100% assignment for some employer. You can check it in my profile. Hope we have a deal. Thank you!

$25 USD 0日以内
(3件のレビュー)
1.9
OmaProgramacion

It looks like an easy work to do. I have student and working expirience in java and patterns, so I can do it well.

$15 USD 1日以内
(0件のレビュー)
0.0
JanittaJames

A proposal has not yet been provided

$25 USD 4日以内
(0件のレビュー)
0.0
dhruvRD

Hello, I am a Software Developer and have a good amount of experience in Java Programming .I can do this assignment for you within a short span of time. Please consider. Thanks.

$30 USD 2日以内
(0件のレビュー)
0.0
resol

A proposal has not yet been provided

$25 USD 1日以内
(0件のレビュー)
0.0
svkumar7

Hi!, I would like to finish this project and also willing to work on your future projects., Thanks, Vinothkumar S

$12 USD 1日以内
(0件のレビュー)
0.0
dhiren707

I am well versed with these concepts of Java and will be able to do this as mentioned. Please open chat session to discuss.

$15 USD 1日以内
(0件のレビュー)
0.0