Tags: Programming Language.
A phantom reference is one of the strengths or levels of ‘non strong’ reference defined in the Java programming language; the others being weak and soft. Phantom reference are the weakest level of reference in Java; in order from strongest to weakest they are: strong soft weak phantom.An object is phantomly referenced after it has been finalized but before its allocated memory has been reclaimed.