1.

Which of these are selection statements in Java?(a) if()(b) for()(c) continue(d) breakI had been asked this question in homework.This interesting question is from Control Statements topic in portion Operators and Control Statements of Java

Answer»

The CORRECT choice is (a) if()

Explanation: Continue and BREAK are jump statements, and for is a LOOPING STATEMENT.



Discussion

No Comment Found

Related InterviewSolutions