The best way: Have some superordinate goal (as Sherif termed it) that they needed to pursue together. A "superordinate" goal is something superior or essential that will cause groups in conflict to come together to pursue that goal. So, for instance, in US and China relations currently, if climate change were creating a crisis threatening both countries and the world, forcing them to work together on a solution, that would be a superordinate goal. Or it could be a superordinate goal to achieve something together that they could not achieve on their own. Let's say conducting a manned space mission to Mars was a goal both countries had but needed each other in order to achieve it.
In the case of the campers' experiment conducted by Sherif, the superordinate goal was restoring drinking water supply to the camp.
The judicial branch is in charge of deciding the meaning of laws, how to apply them to real situations, and whether a law breaks the rules of the Constitution.
Pros were that they were able to work in the military and serve their country cons were that they were still segregated and after the war their treatment did not differ much from before