Basic Java Programming

Average Rating
0 out of 5 stars. 0 votes.

The purpose of a program control structure is to:

a. enable the program statements to execute sequentially
b. call a method
c. terminate the program
Selected: d. implement the logic of the program by altering the sequential flow of control This answer is correct.

Correct. Control structures include both conditional statements (if-else) and iterative statements (while loop). They are used to implement the logic of the program by altering the sequential flow of control.

Leave a Reply

Your email address will not be published. Required fields are marked *