Posts from Java

Printing the Alphabets A-Z using loops in Java

By Kollabathula Preetham

Hey Everyone! In this tutorial, we’ll be printing the Alphabets from A-Z using loops concept in Java. How to Print Alphabets A-Z using loops in Java To understand this progra.... Read More

How to use Linked List In Java Without Using Collection Class

By Barshan Paul

This tutorial will show you how to use Linked List in Java without using Collection class with an easy example. A Collection class consists mainly of static methods that return or .... Read More

How to find HCF (highest common factor) of at most 3 numbers in Java

By Darshna Patil

Hi people ! today we are going to see how to find the highest common factor (HCF) also known as the greatest common divisor (GCD) for 2 or 3 numbers. As we all know the highest com.... Read More

How to Add Prefix to each element of an Array in Java

By Zeyan Ansari

Hello Coder’s in this Tutorial we will learn how to add Prefix to each element of an Array in Java. Or you can also say add a string to array elements in Java. Explanation: W.... Read More

How to Reverse a number in Java

By Shakshi Parekh

In this context, we are going to learn how to reverse a number in Java. Here is an example program so that you can understand it easily. Hope this will be helpful to you. so the u.... Read More

how to count the number of alphabets in a given string in Java

By Yanamandra Valli

In this tutorial, we will learn how to count the number of alphabets in a given string in Java. As we all know String is a combination of alphabets, numerals, alpha-numerics, speci.... Read More

Co-Primes in Java

By Kollabathula Preetham

In this tutorial, we will learn to distinguish co-primes from non-co-primes and implement it in Java. So what exactly are Co-Primes? Co-Primes When two numbers have no common facto.... Read More

How to find if a number is Niven (Harshad number) or not in Java

By Kollabathula Preetham

In this tutorial, we’ll be finding out if a number is Niven number ( Harshad number ) or not in Java. Niven Number Niven number or Harshad number is a number, perfectly divis.... Read More

Related Posts