The question requires that you evaluate the underlined text to determine if it is correct.

Posted by: Pdfprep Category: 98-388 Tags: , ,

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

Your email address will not be published.