Was this a cruel joke.? Also can someone explain it? May be offensive?

Someone said it
'What did blacks in Mississippi have in common with monkeys'
'They hung from trees'
?
5 answers 5