Which keyword should you use to define method l?

You are developing a class named Class l that performs several calculations. One of the methods in Class l is named method 1.
Other developers will create classes that inherit from Class l.
You need to ensure that method l is available to Class l and to all of the classes that inherit Class
A. The developers must not be able to call method l from any other classes.
Which keyword should you use to define method l?
B. Protected
C. Public
D. Server
E. Private

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.