Posts from Java

Java Program To Check A Number is Palindrome or Not

By Saruque Ahamed Mollick

Palindrome Number Take a number and reverse it. If the number remains same after reversing then the number is called a palindrome number. But if the number comes different from the.... Read More

Java Program To Check A Number Is Prime or Not

By Saruque Ahamed Mollick

In this post, we are going to learn, a number entered by the user is a prime number or not by using Java program.   What is a prime number? The number which is not divisible b.... Read More

Concept Of Class and Object in Java With Examples

By Saruque Ahamed Mollick

The most important part of Object-Oriented Programming is to make the concept of Objects and Classes very clear. Java is an Object-Oriented Programming Language, Which helps us to.... Read More

Merge (Combine) Two or More Arrays Into A Single Array In Java

By Saruque Ahamed Mollick

If you are looking for the easiest way to merge or concatenate multiple arrays into a single array using java, you are at the right place. In this post, we gonna learn how to conca.... Read More

Java Program To Get The Sum Of All The Divisors Of A Number

By Saruque Ahamed Mollick

Here is the easy Java Program to print the summation of all the divisors of an integer number. That means, suppose we have an Integer: 12 as input The divisors of 12 are, 1,2,3,4,6.... Read More

Get factorial of any number in Java Program

By Saruque Ahamed Mollick

In this tutorial, we will learn how to get the factorial of any number in Java. Let’s first learn how to determine the factorial value of any number. Suppose we have to find .... Read More

Java Program To Fetch Data From MySQL Table (Database) Using JDBC

By Saruque Ahamed Mollick

We have already learned  How to insert data into a MySQL table using Java Program  We will use that same table and will fetch data from the inserted value using a simple Java pr.... Read More

Java Program To Insert Data Into MySQL Table Using JDBC

By Saruque Ahamed Mollick

In this post, we are going to learn several things at the same time. You are being suggested to use NetBeans or Eclipse or any platform you prefer to work on java projects. Though .... Read More