How to write a Java Program to Swap Number Without Temporary Variable

By Prem Tiwari in Java Programming. Updated on


In one of the previous tutorial, I have explained how to swap two numbers in java programming language. In this tutorial, I will share how to write a java program to swap number without a …

Reverse Number Program in Java Programming Language

By Prem Tiwari in Java Programming. Updated on


In this program, I will share to how to write a Java program to reverse any given number. When you execute this program, it asks you to enter any number and then it will reverse …

Java Program to Subtract Any Two Numbers

By Prem Tiwari in Java Programming. Updated on


In this post, I will explain about a Java program to subtract any two numbers with an example and program output. This is a very basic program in Java programming language. If you are a …

Java Program to Add Any Two Numbers

By Prem Tiwari in Java Programming. Updated on


This is a very basic program in Java programming language. If you are a Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java …