The Supreme Court ruled in Miranda v. Arizona that people

under arrest as juveniles have many of the same rights as adults
accused of crimes have the right to a second trial upon request
who cannot afford an attorney must be provided one by the state
that are under arrest must be read their rights by law enforcement

before being questioned.