Question: what is the difference between strong and weak references in java?
Answer: Strong References: This is the default type/class of Reference Object. Any object which has an active strong reference are not eligible for garbage collection. ... Weak References: Weak Reference Objects are not the default type/class of Reference Object and they should be explicitly specified while using them.