Posted by: Pdfprep
Post Date: January 30, 2021
The question requires that you evaluate the underlined text to determine if it is correct.
You have the following class definition:
The logErrormethod can be invoked by code in all classes in the same package as the Logger class.
Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct.
A . No change is needed
B . only by the Loggerclass
C . only by the Loggerclass and classes in the same package that inherit from it
D . by all classes in all packages
Answer: C
Leave a Reply