A: You do not have to obey them in disobeying Allah or in anything that will adversely affect you, because the Prophet (peace be upon him) said: Obedience is only with regard to what is right and proper.
The Prophet (may Allah's Peace and Blessings be upon him) also says: There is no obedience to any created being if it involves disobedience to the Creator.
befriend evil people either. But you should speak to your parents in a good manner and in a way that is better, such as saying "These are good people, I benefit a lot from them, I am fond of them and I am learning a lot from them." You should respond to them with kind words and good manners, and not with harshness.
If they prevent you from keeping their company, do not tell them that you follow good people and are in touch with them, or that you have gone places with them if they do not approve of that. You only have to obey them with regard to acts of worship and what is good and proper.
If they tell you to befriend bad people, smoke, drink Khamr (intoxicant), commit Zina (premarital sexual intercourse and/or adultery), or other sins, then do not obey them or anyone else who tells you to do such things, because of the two Hadiths quoted above. May Allah grant us success!