Since, the 1st students can have any day as his birthday and according to the question corresponding to the 1st person and 2nd the 3rd person need to have the same day as their birthday and thus probability that they have identical birthday
= 1x (1/365) x (1/365)
= 1/(365)2