Java Program to check whether a given number is Prime or not using while loop
A whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1 […]
A whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1 […]
Positive whole numbers are called Natural numbers. In this program, we are trying to print all the natural numbers in
In this tutorial, we will be learning to write Java Program to print or calculate the sum of digits of
In this program, we are counting the number of digits present in a given number. For Example Suppose if the
In this tutorial, you will learn to write Java Program to check that given characters or alphabets are vowels or
Any number when divided by 2 gives a remainder other than zero, which is an odd number. In our java
Any number divisible by 2 is an even number. Here we are using a while loop to iterate the given
Any number when divided by 2 gives a remainder other than zero which is an odd number. Here we are
Any number divisible by 2 is an even number. Here we will see a writing program using a while loop
Positive whole numbers are called Natural numbers. In this Java Program, we are trying to print all the natural numbers
To Check whether String is Palindrome or not using Java Program, First Let’s know about Palindrome. What is Palindrome? A
In this tutorial, we are going to learn to write Java Program to check whether two given strings are anagrams
To check whether the person is eligible the vote or not, the Person should complete the age of 18. This
You have given the three sides of the triangle, now you have to identify whether the given triangle is an
In this tutorial, you will be learning to write a Java Program to print the total number of days available
In this tutorial, You will be learning writing Java Programs to print the weekdays for the given week in numeric
In this tutorial, you are going to learn to write a java program to check whether a given character is
In this tutorial, you will be learning to write Java Program to check whether the given character is a vowel
In this tutorial, you are going to learn to write Java Program to convert a given temperature from Fahrenheit to
In this tutorial, you will be learning to write Java Program to convert temperature from Celsius to Fahrenheit. For example:
In this tutorial you will be learning Writing Java Program to check a Given input number is a positive number
In this tutorial you will be learning Writing Java Program to check a Given input is either a Digit or
In this tutorial you will be learning Writing Java Program to check a Given input is Alphabet or not. For
In this tutorial you will be learning Writing Java Program to check a Given input is Digit or not. For
In this tutorial, we will be learning to write a leap-year program in Java. A leap year is a year
In this tutorial, you will be learning to write Java Program to check given number is Even number or odd
In this tutorial, you are going to learn to write a java program to check whether a given number is
In this tutorial, you are going to learn writing java program to check whether a given number is divisible by
In this tutorial, you are going to learn to write a java program to check whether a given number is
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. For example:
In this tutorial we will learn writing Java Program to print maximum number among three given number. For example: suppose
In this tutorial, you will learn how to write Java Program to print the maximum or largest number among two
In this tutorial we have explained how to write java program to perform left rotation on array element by two
In this tutorial you will be learning java program to perform right rotation on array element by one. For example:
In this tutorial you will be learning writing java program to perform left rotation on the array element by one
In this tutorial you will be learning writing java program to sort the given array in descending order. For example:
There are multiple ways and algorithms to sort the array in ascending order. In this tutorial we will see some
To search an element in array there are two popular algorithms linear search and binary search. In this tutorial we
In this tutorial you will be learning writing java program to separate the even and odd number in two different
In this tutorial we will learn writing Java Program to merge the two array and generate one new array. This
There are multiple ways to delete all duplicate elements from an arrays. To delete the given element from array you
To count the duplicate number in array, We will be using for loop two times and perform the comparison. If
There are multiple approaches to delete an element from an array at a given location. We can delete the element
In this tutorial you will be learning writing java program to print the all unique elements. Unique elements mean we
In this programming tutorial you will learn writing Java Program to find the frequency of each elements given in Array.
To remove the first element from the array using Java, we can create a new array of size one less