Given the following two classes, what change to the StealSecret class would allow it to read and

Question:

Given the following two classes, what change to the StealSecret class would allow it to read and email the password to a hacker? 

image text in transcribed

A. There are no changes, as the Secret class is secure.

B. Override the mySecret variable.

C. Override the setSecret() method.

D. Override the printSecret() method.

E. Override the saveToDisk() method.

F. Add a constructor.

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

Step by Step Answer:

Question Posted: