• Register
0 votes
916 views

Problem:

The ________ statement is used to make simple decisions in Java?
A) do/while
B) for
C) branch
D) if

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

If

Explanation:

A decision making allows you to make a decision, based upon the condition. The same concept applied in Java. Decision making in java (statements) helps us to make a decision by considering conditions. Java offers different kinds of statements to get the desired results.Java decision-making statements allow you to make a decision, based upon the result of a condition. All the programs in Java have a set of statements. if the statement is the most simple decision-making statement. It is used to decide whether a certain statement or block of statements will be executed or not 


 

14.6k points