Add the following mutator method to the Stock class: public void clear() Resets this Stock s number

Question:

Add the following mutator method to the Stock class:

public void clear()

Resets this Stock ’s number of shares purchased and total cost to 0.

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

Step by Step Answer:

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