Answer:

The girl will choose one rock from the old man and lets say,she throw it away without seeing it or showing it to anyone. Now she can ask the old man to show the rock in his hand,obviously it is going to be black. Then she can prove that the one she threw away is nothing other than white....is that correct?