Java program to check if a number is odd or even. if a number is divisible by two then it is even. if a number is not divisible by two then it is odd.we use modulus ( %) operator to check even or odd numbers.modulus operator return remainder value. Java Program to check Even or […]

# Category: Java Programming

## Fibonacci Series Program in Java

The definition of Fibonacci Series, next number is the sum of previous two numbers. the first two numbers of the Fibonacci series 0 , 1 The Fibonacci Sequence : 0, 1, 1,2 ,3, 5, 8, 13, 21, … Fibonacci Series Program in Java using For Loop Example 1 Fibonacci Series Program in Java using For […]

## Java Program to Swap Two Numbers with/without Third Variable

Swapping Two Numbers in Java Hi Friends, In this article, i have written two methods to swap two numbers using java. swap two numbers without third variable swap two numbers with third variable Swapping Two Numbers in Java with third variable Swapping Two Numbers in Java without third variable Happy Coding…Thanks.

## Check Number Integer or Float in Java

How to Check Number is Integer or Float in Java. Suppose if user enter number 19 then output will display , “Number is Integer”. Suppose if user enter number 18.89 then output display , “number is float/double”. the number has decimal point that number is either float or double.You should try these two following codes… […]

## Java Program to Convert Number to Words

The above program to Convert any number to words in Java programming suppose if user enter number 2 , output : two. you should try the above codes it works correctly. If any doubts , leave your comments. Happy coding ,, thanks.

## Java Program to Move All Zeros to End of an Array

Hi Friend’s, Welcome to new blog of Java languageTutorial . Here, the post about to Move All Zeros to End of an Array in Java Language. Suppose if User enter {5,7,0,8,0,4} then output should be come {5,7,8,4,0,0}. For code explanation , you should follow below video tutorial. Happy Coding, Thanks…

## Convert 2D Array into 1D in Java

Welcome to New Blog of Java Tutorial. this blog i made coding efforts for converting 2 Dimension array into 1 Dimension using Java Programming. i used list concept to figure out this problems with simplest codes. see below image. For Coding explanation , you should follow below link. Happy Coding, Thanks….