Question: The diagram below shows a class hierarchy, the solid lines show hierarchical relationships and dotted lines indicate the inclusion of an instance of the class
The diagram below shows a class hierarchy, the solid lines show hierarchical relationships and dotted lines indicate the inclusion of an instance of the class Class A Class B Class C ...Class D Class E Which of the following is true (tick all that apply) as regards Class D (assuming no information available as regards the package structure) 0 Class D can access all members in Class B Class D can access all members in Class B whose access modifier is public Class D can access all members in Class B whose access modifier is protected Class D can access all members in Class B with no access modifier
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
