Question: Given the following method signature, which classes cannot call it? protected void run(String government) A. All classes in other packages B. All classes in the

Given the following method signature, which classes cannot call it? protected void run(String government)

A. All classes in other packages

B. All classes in the same package

C. Subclasses in a different package

D. Subclasses in the same package.

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The correct answer is A All classes in other packages In Java the protected keyword means tha... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!