Using loops in Java

You can use loops to re-run a particular code segment until it satisfy a certain condition. Basically there are 3…

Recursion

What is recursion? Recursion is the method of calling the same function inside the function. This is the modern approach…

Variables

A variable is a named space in the computer memory (RAM) that can store data. In Java we can create…