please tell me when to use getInstance() method in java.
when to use the getInstance() method in java. and what is the meaning of getInstance(null).
locationProvider = LocationProvider.getInstance(null); can u tell me the meaning of the above line
please tell me when to use getInstance() method in java.
===

when to use the getInstance() method in java. and what is the meaning of getInstance(null).
locationProvider = LocationProvider.getInstance(null); can u tell me the meaning of the above line