Java Program to Swap two number without using third Variable

Sum The Digits Of a Number Using Recursion in java

In this tutorial you will see Java program to swap two number without using temp variable. This is also a important program which commonly asked in interview. Read This: C program to swap two number without using third variable. In Swapping operation basically we change value of variable. Suppose assigned value of variable ‘a’ is … Read more

Perfect number program in Java

Perfect Number Program in java

In this tutorial you will learn how to write a program in Java to check a given number is perfect or not. Read This: What is Perfect Number? Write a program in C for Perfect Number. What is Perfect Number? A perfect number is a positive integer that is equal to the sum of its … Read more

Java Program to add two numbers without addition operator

Add two numbers without addition operator

In this tutorial you will learn writing program to add two numbers without using addition operator in Java. Read This:  Write a program in C to add two number without using third variable. How this Java program will behave? This program will take two number as a Input. And After performing some operation as per … Read more

Find Greatest among three numbers in Java

Find The Largest Of Three Numbers in java

In this tutorial you will learn how to write a program in C to find largest of three numbers. Determining the greatest among three numbers is a common task that often arises in various applications and algorithms. Whether you’re working on a simple console application or a complex software system, finding maximum value among three … Read more

Palindrome Program in Java using Iteration

Palindrome Program Using Iteration in java

In this tutorial you will learn how to write a program in Java to check a given number is palindrome or not using iteration. Before moving directly on the writing the program Read this: What is Palindrome Number? Write a palindrome program in C. How our Java program will behave? Our program will take a … Read more

Fibonacci Series Program in Java using Recursion

Fibonacci Series Program Using Recursion java

In this tutorial we are going to learn how to print Fibonacci series in java program using recursion. Read this: What is Fibonacci Series? Fibonacci series program in C using recursion. How this Java program will behave? Its Logic is different from Fibonacci series program in Java using iteration. Here we have a function named … Read more

Fibonacci series program in Java using iteration

Fibonacci Series Program Using Iteration in java

In this tutorial we are going to learn how to print Fibonacci series in Java program using iterative method. In this series number of elements of the series is depends upon the input of users. Program will print n number of elements in a series which is given by the user as a input. Read … Read more

Prime Number program in java

Prime Number Program in java

In this tutorial we are going to learn how to write a program to check whether a given integer number is prime number or not in Java programming language. What is Prime Number? A prime number is a natural number that is greater than 1. It cannot be formed by multiplying two smaller natural numbers. … Read more

Armstrong Number Program in Java

Armstrong Number Program in Java

In this tutorial we will learn writing Armstrong number program in Java to check a given input number is Armstrong or not? So before moving directly on the writing program Lets know about Armstrong number: Click Here:  What is Armstrong Number? Armstrong program in C. Program 1: Armstrong Program in Java This is a traditional … Read more

Java Program to Count Occurrence of given character in String

Count Occurrences Of Given Character In String in java

In this tutorial we will learn how to write program in Java to count occurrence of character in a String. Also Read this:  C program to count the occurrence of a character in String. How this Java program will behave? This Java program will take a string and a character as an input. And it … Read more