Question: Does Java use strict name equivalence, loose name equivalence, or structural equivalence when determining if two primitive types are compatible? What about for non-primitive types?

Does Java use strict name equivalence, loose name equivalence, or structural equivalence when determining if two primitive types are compatible? What about for non-primitive types? Give examples to justify your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
