A method is strucure t group statements together to form function. You can define the a method just once and reuse it in other programs. Continue reading
The if statements makes selections based on the single true or false conditions.
If there are multiple cases we can make the use of nested if else statements but this becomes very complicated. Continue reading
Simple if statement execute an action if and only if the condition is true. Continue reading