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?
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:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: