Which of the following three functions is more efficient;
public String getmConnectedDeviceName1() {
if(null != mServerDevice) {
retur
I definitely agree with the rest of answers. To not saying the same exactly, I will only tell you, that now I'm introducing to a quite big commercial source code which has been written for about 3 years and I have not seen any statement using the try-catch
approach you have mentioned of; although there were lot of to check for null
;)