The same criminal code that applies to adults also applies to children. Although there is not a special juvenile code, there is a special court system to handle juvenile crime and children cannot be imprisoned with adults. Sentences imposed on juveniles are designed to educate and rehabilitate, rather than punish.