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
The correct answer is A All classes in other packages In Java the protected keyword means tha... View full answer
Get step-by-step solutions from verified subject matter experts
