Question: Can a class belong to multiple packages simultaneously? Question 1 Answer a . Yes, but it requires advanced import statements. b . No , a
Can a class belong to multiple packages simultaneously?
Question Answer
a
Yes, but it requires advanced import statements.
b
No a class can belong to only one package.
c
No all the classes then need to be defined again
d
Yes, if its placed in the default package.
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
