Multiple Choice Question

Quiz Guidelines

 

QID: 
434
Tags: 
Question: 

For object o1 of class A to access a member(field or method) of object o2 of class B, when the member has no access modifier, class B must be...

Select 1 option

A. a subclass of A 
B. in the same package as A is in. 
C. a Super class of A 
D. a subclass but may not be in the same package. 
E. in the same package and must be a Subclass of A. 

Q&A Set: