The correct answer is c) Ethiopia and Liberia.
Ethiopia successfully resisted colonization during the Scramble for Africa, notably defeating Italy in the Battle of Adwa in 1896. Liberia was established by freed American slaves and maintained its independence throughout the 19th century, despite being surrounded by European colonies.