in Java, are strong links accessible from weakly reachable objects considered strong links?
Example:
If there is no other pointer to X and Y, I would expect them to collect garbage collection. I am wrong?
Both objects can be collected in garbage; a strong link from a loosely coupled object is considered a weak link.
Although the term strong link is used, it might be better to think in terms of ability to achieve.
, , - . , , . , - .
.