Question: The compiler complains that the getMeasure method has a weaker access level than the Measurable interface. Why? Question 1 1 options: The getMeasure method was
The compiler complains that the getMeasure method has a weaker access level than the Measurable interface. Why?
Question options:
The getMeasure method was declared as private in the Measurable interface.
The variable onHandCount was not declared with public access.
All of the methods in a class have a default access level of package access, while the methods of an interface have a default access level of private.
All of the methods in a class have a default access level of package access, while the methods of an interface have a default access level of public.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
