Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

Java – break statement with Example

It is one of the jump statement in java. This statement is used within the loop or switch cases to terminate that statement or the current loop is immediately stopped and resumes at the next statement followed by a terminated …

Read moreJava – break statement with Example

Categories Java Tutorial

Java – Loops with Example

A loop statement allows us to execute a block of code or statement or group of statements as many times according to the user’s need. It is done by evaluating a given condition for true and false. The statement stops …

Read moreJava – Loops with Example

Categories Java Tutorial

Java – for loop with Syntax, Flowchart and Example.

The Java for loop allows the user to iterate a part of the program multiple times. If a user is certain about how many specific numbers of times the loop must be executed then for loop is recommended. It is …

Read moreJava – for loop with Syntax, Flowchart and Example.

Categories Java Tutorial

Java – While Loop with Example

The while loop is one of the fundamental loop statements in Java. It is an entry-control loop that is it checks the condition at the beginning of the block. And repeats a statement or block until the condition is true. …

Read moreJava – While Loop with Example

Categories Java Tutorial

Java – do while Loop with Example

Sometimes it is necessary that the block or statement must be executed at least once but if the condition is initially at a false state then the block will not be executed. So for the situation where a block of …

Read moreJava – do while Loop with Example

Categories Java Tutorial

Java – Switch Case Statement with Example

A switch statement allows a variable to be tested for equality against multiple values. It provides the case for the different blocks of code to be executed. Switch expression and case value must be of the same type. There must …

Read moreJava – Switch Case Statement with Example

Categories Java Tutorial

Java – if-else if ladder with Example

This statement allows the user to have multiple options to check for different conditions. Here, if one of the if or else-if condition is true then that part of the code will be executed and rest will be bypassed. If …

Read moreJava – if-else if ladder with Example

Categories Java Tutorial

Java – nested-if statement with Example

Nested-if statement allows the user to use if block inside the other if block. And the inner if is executed only if the outer if is true in condition. Flowchart for nested-if statement in Java: Syntax of nested if statement: …

Read moreJava – nested-if statement with Example

Categories Java Tutorial

Java – if-else statement with Example

There are two-part in an if-else statement. First is the if statement, here it checks for the condition to be true and if it is true then it will execute the code present inside the if-block. But if the condition …

Read moreJava – if-else statement with Example

Categories Java Tutorial

Java – if statement

Among the decision making statements, if- statement is the most simple one. It checks if the condition is true or not, and if it is true then it executes the block of code inside if otherwise, it will not. The …

Read moreJava – if statement

Categories Java Tutorial
Older posts
Newer posts
← Previous Page1 … Page66 Page67 Page68 … Page76 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code