If Statement in Java | Example Program
An if statement in Java is the simplest decision-making statement that allows to specify alternative paths of execution in a program. It is also called a conditional control statement or selection statement in Java. The if statement executes a set of statements when a certian condition is true. In other … Read more