已关闭

Write some Software in java

6.20 Warm up: Online shopping cart (Java)

Create a program using classes that does the following using your NetBeans IDE and upload it here:

(1) Create two files to submit:

[url removed, login to view] - Class definition

[url removed, login to view] - Contains main() method

Build the ItemToPurchase class with the following specifications:

Private fields

String itemName - Initialized in default constructor to "none"

int itemPrice - Initialized in default constructor to 0

int itemQuantity - Initialized in default constructor to 0

Default constructor

Public member methods (mutators & accessors)

setName() & getName() (2 pts)

setPrice() & getPrice() (2 pts)

setQuantity() & getQuantity() (2 pts)

(2) In main(), prompt the user for two items and create two objects of the ItemToPurchase class. Before prompting for the second item, call [url removed, login to view](); to allow the user to input a new string. (2 pts)

Ex:

Item 1

Enter the item name: Chocolate Chips

Enter the item price: 3

Enter the item quantity: 1

Item 2

Enter the item name: Bottled Water

Enter the item price: 1

Enter the item quantity: 10

(3) Add the costs of the two items together and output the total cost. (2 pts)

Ex:

TOTAL COST

Chocolate Chips 1 @ $3 = $3

Bottled Water 10 @ $1 = $10

Total: $13

技能: Java, Object Oriented Programming (OOP), 编程

查看更多: write software java urgent, write software java, software java puebla, proofreading software java, matrimony site software java

About the Employer:
( 0 reviews ) United States

项目ID: #14924628

74名威客为此工作的平均竞标价是$94

it2051229

I have thoroughly the requirements and I am confident to do this one. I am a Java developer and well aware of all the concepts required to implement this in a student level. Relevant Skills and Experience Java Propos 更多

$30USD 在1天里
(967条评论)
7.5
wbslivera

Hello, I am Oracle certified professional java programmer and have [url removed, login to view], I have done lots of similar works before, I am ready to help you. thanks Relevant Skills and Experience Oracle certified professional java pro 更多

$30USD 在1天里
(201条评论)
6.2
TopTower22

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. i can provide most quality and high speed Relevant Skills and Experience java/javafx is my top skill and pass 更多

$155 USD 在3天内
(45条评论)
6.3
abhijitbuet

I am best suited to this type of projects. I can complete it successfully within few hours. Please feel free to knock me before hiring anyone else. Relevant Skills and Experience Java,

$55 USD 在3天内
(195条评论)
6.5
asadrana91

Hey there, i have commanding knowledge and skills over java. I read the description part, i can surely help you in working this out? Get me over chat? Relevant Skills and Experience Java Proposed Milestones $222 USD 更多

$222 USD 在3天内
(79条评论)
6.3
wangbeizou

Hello. How are you today. I have read and understood this task. Relevant Skills and Experience I have strong knowledge in Data structures, Algorithms Design, Computer Architecture. And I'm expert in Java, I'm interes 更多

$50 USD 在2天内
(90条评论)
5.9
$155 USD 在3天内
(39条评论)
5.7
yuansun235

Hello, I am confident in java app development with Netbeans IDE. I've read the details of task. I'd like to have a short discussion. Thanks, Warm Regards. Relevant Skills and Experience java Proposed Milestones $80 更多

$80USD 在1天里
(23条评论)
4.9
dipakjadhav08

A proposal has not yet been provided

$165 USD 在3天内
(65条评论)
5.0
$80 USD 在3天内
(38条评论)
5.2
usman1493

Hey A Java expert developer is here I have good advanced expertise in Java and Javafx I can write a program for you in java as per your need Feel Free to message me Regards Relevant Skills and Experience Java Javafx O 更多

$30 USD 在0天内
(51条评论)
5.4
vorasiddh4it

You can see my last project which are based on Algorithm Development Machine Learning and I can complete your project perfectly. Relevant Skills and Experience We have 10+ years experience in software development. We 更多

$200 USD 在3天内
(23条评论)
5.1
algispetkuns

3 hours ind its yours Relevant Skills and Experience java oop student assignments Proposed Milestones $40 USD - completed work with comments. well written code

$40USD 在1天里
(30条评论)
4.9
$35 USD 在3天内
(15条评论)
5.7
intechcreative

Hi, I read your requirement very well and able to do it. I have more than 8+ years experience in Java and related technologies. Relevant Skills and Experience Experts In Technology: JAVA, HTML, J2EE, Struts, Hibern 更多

$250 USD 在5天内
(2条评论)
4.8
neerajagrawal201

I have good knowledge in below mentioned skills by you. I also have some certifications in Java. I can share some of demos with you if you want for better understanding. Currently I'm working on a banking project in an 更多

$30 USD 在2天内
(38条评论)
5.0
$100 USD 在3天内
(3条评论)
4.5
akshayatm

Hi Sir, I have gone through your requirements. I am an experienced software developer expert in core java ,j2ee , spring,   hibernate orm, webservices,xml xslt, db like technolgies. I can build this shopping cart appli 更多

$88 USD 在2天内
(24条评论)
4.6
DanielNikolov

Greetings, I can implement the required task in less than 24hrs if awarded. My experience includes, but not limited to: Java, eCommerce, SQL, Web Development. Best regards. Daniel Relevant Skills and Experience Java 更多

$111 USD 在3天内
(9条评论)
3.9
kbmanoj

I have good experience in java j2ee application development.I can support on the [url removed, login to view]!

$110 USD 在3天内
(5条评论)
4.4