Computers and Technology

What kind of statement allows us to run a block code only if a certain condition is true? * break statement for loop if statement return statement

answer
Answers: 1

Similar questions

Предмет
Computers and Technology, 18.09.2019 18:30, holmesleauja
1. this decision control structure enables the program to execute a statement or block of codes if and only if the boolean expression is true select one: a. both if-then and switch b. switch c. if-then d. neither if-then and switch 2. the following are the branching statements in java except: select one: a. finalize b. continue c. return d. break 3. the if statement enables a program to selectively execute other statements, based on some criteria. these criteria must be select one: a. java identifiers b. integer data type c. boolean expression d. string data type 4. the do-while is the other name for while loop. select one: true false 5. using if-statement without curly braces makes the code shorter, easy to read and less prone to errors. select one: true false 6. the else keyword of the if-else statement, is similar to the keyword of the switch-case statement. select one: a. break b. default c. goto d. continue 7. the statement causes the program flow to exit from the body of the switch construct. select one: a. goto b. continue c. break d. default 8. these are programming blocks that are used to redirect the flow of your program. select one: a. expressions b. decision structure c. conditions d. control structures 9. the return keyword is used to return a value based on the return type of the method. select one: true false 10. the loop executes a given statement or block of statements repeatedly as long as the value of the expression is true. select one: a. for b. do-while c. while d. all of the choices
Answers: 3
Do you know the correct answer?
What kind of statement allows us to run a block code only if a certain condition is true? * break s...

Questions in other subjects: