The current version of the caption package comes with the subcaption package, which provides the same but more reliable capabilities as the subfig package.
I just want to know where is the figure name mentioned in the above code or to make it is easy what is the figure name in the above code???
Ask targeted and clearly phrased questions with an adequate problem description in the topic you opened for this purpose [1]. This is certainly better than reactivating a thread that is more than three(!) years old.