Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
School Programming
1.5K+ articles
java-basics
330+ articles
Library Management System
9+ articles
Java-Loops
5+ articles
Java-Control-Flow
15 posts
Recent Articles
Popular Articles
Switch Statements in Java
Last Updated: 11 April 2025
The switch statement in Java is a multi-way branch statement. In simple words, the Java switch statement executes one statement from multiple conditions.It is an alternati...
read more
Java
Java-Control-Flow
Unreachable Code Error in Java
Last Updated: 22 October 2020
The Unreachable statements refers to statements that won’t get executed during the execution of the program are called Unreachable Statements. These statements might be un...
read more
Java
Technical Scripter
Programming Language
java-basics
Java-Control-Flow
Java Break Statement
Last Updated: 05 December 2024
The Break Statement in Java is a control flow statement used to terminate loops and switch cases. As soon as the break statement is encountered from within a loop, the loo...
read more
Java
java-basics
Java-Control-Flow
Java For Loop
Last Updated: 17 April 2025
Java for loop is a control flow statement that allows code to be executed repeatedly based on a given condition. The for loop in Java provides an efficient way to iterate ...
read more
Misc
Java
School Programming
Java-Control-Flow
Java-Loops
Java while Loop
Last Updated: 11 November 2024
Java while loop is a control flow statement used to execute the block of statements repeatedly until the given condition evaluates to false. Once the condition becomes fal...
read more
Java
Java-Control-Flow
Java if-else Statement
Last Updated: 03 December 2024
The if-else statement in Java is a powerful decision-making tool used to control the program's flow based on conditions. It executes one block of code if a condition is tr...
read more
Misc
Java
School Programming
java-basics
Java-Control-Flow
Java if-else-if ladder with Examples
Last Updated: 05 December 2024
The Java if-else-if ladder is used to evaluate multiple conditions sequentially. It allows a program to check several conditions and execute the block of code associated w...
read more
Misc
Java
School Programming
java-basics
Java-Control-Flow
Break and Continue statement in Java
Last Updated: 26 February 2021
The break and continue statements are the jump statements that are used to skip some statements inside the loop or terminate the loop immediately without checking the test...
read more
Java
java-basics
Java-Control-Flow
Enhancements for Switch Statement in Java 13
Last Updated: 13 March 2024
Java 12 improved the traditional switch statement and made it more useful. Java 13 further introduced new features. Before going into the details of new features, let's ha...
read more
Java
Java-Control-Flow
Break Any Outer Nested Loop by Referencing its Name in Java
Last Updated: 21 October 2020
A nested loop is a loop within a loop, an inner loop within the body of an outer one.Working:The first pass of the outer loop triggers the inner loop, which executes to co...
read more
Java
Java-Control-Flow
Java Continue Statement
Last Updated: 03 February 2025
In Java, the continue statement is used inside the loops such as for, while, and do-while to skip the current iteration and move directly to the next iteration of the loop...
read more
Java
Java-Control-Flow
Fall Through Condition in Java
Last Updated: 11 February 2021
The switch statement is a multi-way branch statement. It provides an easy way to dispatch execution to different parts of code based on the value of the expression. Basica...
read more
Java
Technical Scripter
Picked
Technical Scripter 2020
Java-Control-Flow
Java Nested if
Last Updated: 11 January 2025
Nested if in Java refers to having one if statement inside another if statement. If the outer condition is true the inner conditions are checked and executed accordingly. ...
read more
Java
Picked
java-basics
Java-Control-Flow
Jump Statements in Java
Last Updated: 25 September 2023
Jumping statements are control statements that transfer execution control from one point to another point in the program. There are three Jump statements that are provided...
read more
Java
Picked
TrueGeek
TrueGeek-2021
Java-Control-Flow
Library Management System Using Switch Statement in Java
Last Updated: 04 June 2025
Managing a library is a very difficult task as we need to keep track of lots of things, we need to keep track of all books, how many copies there are and we also need to k...
read more
Java
Java-Control-Flow
Library Management System
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !