Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using C#, implement classes as shown below: Ready to pay as 4 questions for this (not only 1), just tell me how can I pay

using C#, implement classes as shown below:

image text in transcribed

image text in transcribed

image text in transcribed

Ready to pay as 4 questions for this (not only 1), just tell me how can I pay the other 3.

nterface Order +make Order): string +make Payment (double amount): string Contact +contactID: integer name:string +address: string +phoneNum :string +Contact(int id, string name, st ring address, string phoneNum) +To String): string Customer Vendor +Customer (int id, st ring name, string address, string phoneNum) A +Vendor int id, string name, string address, string phoneNum) 1 Summary of Classes Class Contact Description Parent base class Constructors must set all class variables to a value, even if that value is not passed in as a parameter ToString- display all the contact's information in an clean, concise manner Customer Inherits from Contact . Implements the lOrder interface makeOrder String: "Incoming order from: " o makePayment o String: "Incoming payment of amount " " from" makePayment String: "Outgoing payment of amount " "to" o Creating Objects For testing you must do the following * Create an object of each type (Customer and Vendor) . Demonstrate the functionality implemented for that class works o Show that makeOrder and makePayment perform correctly for each class xample output: Incoming order from: ID Number: 1e0 Jane Brown 123 Main 905-555-1234 Incoming payment of amount: $55.55 from ID Number: 100 Jane Brown 123 Mairn 905-555-1234 utgoing order to: ID Number: 101 John Black 456 Main 905-333-5678 utgoing payment of amount: $105.47 to ID Number: 101 John Black 456 Main 905-333-5678

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions