$name is variable where as $$name is reference variable like $name=sonia and $$name=singh so $sonia value is singh.
Interview Questions and Answers pdf free download for freshers beginners experienced, Multiple Choice Questions with Answers Practice, Placement Papers