Apart from the strong reference, the one used when you create a variable inside a function, Java allows for different types of reference. They can be used to tune memory management and garbage collection of temporary living objects, like cached objects or sessions. Stron reference Strong reference is created by assigning it to an object. […]
Read more