Java 10 – Overview

Java 10 is a major feature release of Java programming language. This is an introductory tutorial that explains the basic-to-advanced features of Java 10 and their usage in a simple and intuitive way. This tutorial…

Palindrome Program using Iteration

We will learn how to write a program in Java to check whether a given number is palindromic or not, using iteration. Before we start writing the program directly How will our Java program behave?…

Armstrong Number Program

We will learn to write an Armstrong number program in Java to check whether a given input number is Armstrong or not? So before we start writing the program directly, we should know about Armstrong…

Swap two number using third Variable

We will learn swapping two numbers using a third variable in the Java programming language. This is also a very important program that is often asked in job interviews. Before we start writing the program…

Swap two number without using third Variable

We will see a Java program to swap two numbers without using a temporary variable. This is also an important program that is often asked in the interview. In the swap operation, we basically change…

Sum the digits of a number using recursion

We will learn how to write a program in Java to sum the digits of a number using recursion. Basically, the idea is to add up all the digits of an arbitrary number. Therefore, we…

Fibonacci series program using iteration

In Java, we will learn how to output the Fibonacci series in a Java program using recursion. Its logic is different from that of the Fibonacci series program in C, which uses iteration. Here we…