The first thing parents and teachers should do is to ask their children what they think first. It can't be said that stick education is across the board, so that children can't say such things again. We can ask the children why they say such things. Then judge the follow-up practice according to the reasons he said.
In this case, it may also cause some troubles for girls. You can communicate with the parents of girls and transfer their seats or classes first. They were apart for a while. If only boys want to marry girls unilaterally, it would be better to be apart for a while.
The most critical way to deal with things is still on your own children. If the child still wants to say this after such cold treatment, then you can set some conditions for the child, such as how many points he is required to take in the exam, and then you can help him adjust the seat back. Or how to ask him, that is, you can make some demands to increase his difficulty.
Only in this way can this matter pass smoothly. If parents and teachers blindly suppress it, it may cause children's rebellious psychology and produce bad results.