Where I used to work we didn't tell the children until the last possible moment - mostly, I believe, to stop parents from coming in and demanding that we change their child's class - which can be a nightmare!