Java Tutorial
Java Programs
Java programs are frequently asked in the interview. These programs can be asked from control statements, array, string, oops etc. Let’s see the list of…
Java Continue
The Java continue statement is used to continue loop. It continues the current flow of the program and skips the remaining code at specified condition….
Java Break
The Java break is used to break loop or switch statement. It breaks the current flow of the program at specified condition. In case of…
Java do-while Loop
teration is not fixed and you must have to execute the loop at least once, it is recommended to use while loop. It is executed…
Java While Loop
The Java while loop is used to iterate a part of the program several times. If the number of iteration is not fixed, it is…
Java For Loop
The Java for loop is used to iterate a part of the program several times. If the number of iteration is fixed, it is recommended…
Java Switch
The Java switch statement is executes one statement from multiple conditions. It is like if-else-if ladder statement. Syntax: switch(expression){ case value1: //code to be executed; break; //optional case value2: //code to be executed; break; //optional…
Java If-else
The Java if statement is used to test the condition. It returns true or false. There are various types of if statement in java. if…
Unicode System
Unicode is a universal international standard character encoding that is capable of representing most of the world’s written languages. Why java uses Unicode System? Before…