Cascading If-else control Structure.

In this article, Cascading If-else control Structure is explained in detail with examples. you will come to know about what is the cascading If-else control structure in Java, how it is defined in java program.Syntax is written as below
Syntax
if (condition 1)
{
true part1;
}
else if (condition 2)
{
true part2;
}
else if (condition 3)

Switch case control structure.

In this article,Switch case control structure is explained in detail with examples.This control structure works same as that of cascading if else provided we use proper break statements and control the execution.
Syntax
switch(expressions)
{
case value1:
---statement1---
break;
case value 2:
---statment2---

Looping Control Structures.

In this article,Looping Control Structures are explained in detail with examples.
These control structures are used to execute a block of statements continuously/iteratively based on a condition.
1.While loop
It is also known as pre-test loop i.e. first, we check the condition and if it is true, then it executes
the body. 
Syntax
initialization;
while(condition)
{
-----
body;
----
increment/decrement;
}

Nested Loop and Labeled break and Labeled continue.

In this article,Nested Loop and Labeled break and Labeled continue is explained in detail with examples.Using a particular looping structure inside an another looping structure is known as nested loop.
Syntax
outer-loop:(no of rows)
{
Inner-loop:(no of columns)
{
----
----
}
}

Getting input from Keyboard.

In this article,Getting input from Keyboard is explained in detail with examples.
"Scanner" is a class, using which, we can accept input from standard input device i.e.Keyboard.
This class is available in java.util package.Such package need to be imported in a java program.
Ex 
import java.util.*; or
import java.util.Scanner;
To use this class,we create object of this class.
Ex
Scanner sc=new Scanner(System.in); //System.in defines standard input device i.e. Keyboard.
for getting the input from keyboard the statement should be in the format shown below
String ss=sc.next(); 
String ss=sc.nextline();     (From topic Getting input from Keyboard)

Connect with Us by Subscribing here for more Updates..!

* indicates required