The child will have a lawyer who speaks for them at the court.
Usually children do not come. If a child wants to attend, they can.
If a child wants to say something to the Judge a time can be arranged for the Judge to speak to them privately. Children can also write letters to the Court.