Hi

I've always asked myself if using "speak" or "talk" makes any difference.
Basically the meaning should be the same, but are there situations in which it's better using one instead of the other?
When do you mostly use "speak" and when "talk"?
Could you please give me some examples?
"They were speaking about the exam"
"They were talking about the exam"
Which sounds better?
Cheers 