Package declaration : The statement order is as follows. Comments can go anywhere.
1- Package statment (optional).
2- Imports (optional).
3- Class or interface definitions.


2- Classes can be specified explicitly on import instead of using the wildcard character.

3- Alternately we can the fully qualified class name without an import.

the types of loops that we can find in Java: Simple for loop, Enhanced for-each loop, While loop and Do-While loop
For Loop : A for loop is a control structure that allows us to repeat certain operations by incrementing and evaluating a loop counter.

The while loop is Java’s most fundamental loop statement. It repeats a statement or a block of statements while its controlling Boolean-expression is true.

