Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Does anybody can follow the instructions to help me create Assignment5.java and customer.java? Thank you so much! CSE 110 ASSIGNMENT NS Spring 2017 Due: Friday,

Does anybody can follow the instructions to help me create Assignment5.java and customer.java? Thank you so much! image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CSE 110 ASSIGNMENT NS Spring 2017 Due: Friday, March 24th Maximum points: 20 Important: This is an individual assignmenL Please do nar collaborate. What This Assignment Is About: Implementing classes Understanding and accessing instance variables Implementing methods Encapsulation Use the following Coding Guidelines Give identifiers semantic meaning and make them casy to read (examples numStudents, grossPay, cte), User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all edheridentifiers (variables, methods, objects. Use tabs or spaces to indent code within blocks (code surrounded by braces). This includes classes, methods, andcode associated th if, switches and loops Beconsistent with the number of spaces or tabsthat you use to indent. Use white space to make your program more readable. Part 2 Chere is no part this assignmentyrregrammiegao polats) Your assignment isto create file called Customerjava containing aclass Customer (there is no main method in this class), ACustomer has a first name a String), last name (String). IDnumber (nteger.number of larger drinks (integer), number of small drinks (integer), and total cost double Each large drinkcosts S&50 and each small drink costsS 50.You need to computethe total cost based on the number of large drinks and small drinks. The class Customer must include the following constructors and methods Ir your class does not contain any of the following methods, points will be doducted.) Method Descriptiee Method Default constructor sets the first name and last name to rm customer ID the public Customer() of large drinks, and the tumber of small drinks to 0, andthe total cost to Customer (String iname, String Customer objokt given te last name,first name, customer id, the

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

=+25-5 Identify the hallucinogens, and describe their effects.

Answered: 1 week ago

Question

Questions are under

Answered: 1 week ago