Which of the following is the structure of an if statement?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
 Which of the following is the structure of an if statement?

1. if (conditional expression is true) thenexecute this codeend if

2. if (conditional expression is true)execute this codeend if

3.if (conditional expression is true) {then execute this code>->}

4.if (conditional expression is true) then {execute this code}

Posted Date:-2021-02-20 13:15:56


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!