I attended interviews for the position of Android Developer in two different companies. I knew my answer was right, but the interviewer was incorrect leading to him thinking that I have answered incorrectly. I also cross-checked my answers after the interview to be sure.
I have gone through this question (How to tell a interviewer that he is wrong on a technical question). This answer is helpful when there is a discussion during the interview, but in my case, they just ignored my answer and commented, "clear your concepts", "you need to brush up your basics", etc. and moved on to the next question. I did not get an opportunity to explain my answers.
I did not know how to handle this situation. I thought it might sound rude or over-confident to argue. I don't want to be proved wrong even when I am correct. What should I do if I face such situations?