Which of these selection statements test only for equality?
(a) if
(b) switch
(c) if & switch
(d) none of the mentioned
This question was addressed to me during an interview for a job.
Question is taken from Control Statements in chapter Operators and Control Statements of Java