Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

in java Homework 03 - Graph Part 1 (20 points) Notec Homework cosgigrments, HW OS. HW O4. HW 67 . HW 13. and HW 15

in java

image text in transcribed

Homework 03 - Graph Part 1 (20 points) Notec Homework cosgigrments, HW OS. HW O4. HW 67 . HW 13. and HW 15 are all related. Each of these asignments builds on the previcus assigrment. for tris assignment you cre to implament the inlerfoce named Graph. You wil add to your implamentation throughout the semasler, so it is important that you successfuly complete this assigrment. Details 1. Your closs musf be named stringGraph. 2. It must implement the interlace Graph. 3. Your cloas shoud not hove a main methed. If you want to test your clas, you thould write a seporate program. 4. You wil need to welte a cuatom emception caled Graph Excepson. 5. Your closs must have the following 5 instonce variables. A descriphion of the instance varcbles is provided in the lewadoc for this arianment. Notice that each of the irstance varibles is has the protected access medfier. - int eapacity - boleancll edgeMatro - Stringll labels - int numLidgas - int numvertioes b. Your closs must have the two canstructars descrbed in beavadoc tor the 7. Your closs must implement all the methods specilied in the Graph intertace. See the javipos comments for a desolption of each methed. B. Your class must include the woverise annatation tor each interface methods it implements. 9. The documentation for the StringGraph closs includes some addrional methods that not requied by the Graph interlace. These are included as bints cbout metheds you may wish to include in your class. You are not requered to include these addifional mathods. You are only required to implement the methods speofied in the Groph intertoce. Tester Program You are being provided with a Tester program, colled Graph_1_Tester.java. If your Stringaraph class b warking comectly the tester wil print a mesage indicoting that al tests were passed, otherwise emor messages will be printed. What to Tum in Compress the enthe folder creoted by NetBeans into a single ap hie and submit that zip fie through Blackboard. Your project should include the following fies: a. Graphjwa - You should downiood this fle and use it ai-is. Make no changes to this fie. b. Graph_1_Tesier java - You should dowrlood this fie and use it as-b. Make no ehanges to this fla. c. TestResaltiara - You should dowriood this file and use it as-is. Make no changes to this file. d. Graphemouptionjiava - This is your fie. e. Stringoraph.jpav - The is your fie

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_2

Step: 3

blur-text-image_3

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students explore these related Databases questions