Programming - Control Statements - Discussion

You Are Here :: Home > JAVA > Control Statements - Discussion

 



Q.

____________________ is a control statement to execute a single statement or a block of code, when the given condition is true and if it is false then it skips if block and rest code of program is executed .                         


A. If Statement B. if else statement
C. nested if statement D. none

Answer: Option A
Explaination:

 


If Statement is a control statement to execute a single statement or a block of code, when the given condition is true and if it is false then it skips if block and rest code of program is executed .




Discussion

Your Comments Goes here...
NameDiscussion