Three of them, who are minors, had been remanded to a juvenile home while the other, an 18-year old, to judicial custody by a court, they said.
Both the accused and the injured were at loggerheads over a petty quarrel and the former attacked the latter on Friday night.
The two injured boys had been admitted to the Government Rajaji Hospital, police added.