Are Classical music melodies in African music?

Technically, no. Classical music is it's own genre, and from a certain time period (~ 1759 - 1830). It is also 'Western music', while 'African music' is not. Thus, they are two completely separate entities. However, that does necessarily not mean that certain musical ideas present in classical music are not present in African music, because music can do whatever it wants and show up where ever it pleases. It simply means that these ideas are not intentionally placed in the music - it was just a coincidence.