Add to Graph a method hasVertex() that takes a string argument and returns true if it names

Question:

Add to Graph a method hasVertex() that takes a string argument and returns true if it names a vertex in the graph, and false otherwise.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: