Methods in Java Programming

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

Advertisements

Using Switch statements in java

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