Hearing of proceedings.
28.—The whole or any part of any proceedings under this Act may, at the discretion of the court, be heard otherwise than in public.