Java Control Structures

CONTROL STRUCTURES

we control the execution of statements it's of two types

1. LOOPING STR :

             a statement will go again & again

                        a. for

                        b. while

                        c. do while

2. SELECTION STR :

            divide a str n two sections & then execute one

                        a. if

                        b. switch