Browsing tag

Java programs

Java program:find smallest of three numbers using method

 Java program:find the smallest of three numbers using method In this tutorial, we will discuss the concept of Java program:find the smallest of three numbers using the method. In this post, we will learn how to find the smallest number among three numbers using a user-defined method in the Java programming language   In my…

Java program:find greatest of three numbers using method

Java program:find greatest of three numbers using method In this tutorial, we will discuss the concept of Java program:find greatest of three numbers using method In this post, we will learn how to find the greatest number among three numbers using a user-defined method in the Java programming language In my previous post, I have…

Display even and odd numbers without if statement in Java

Display even and odd numbers without if statement in Java In this tutorial, we will discuss the concept of Display even and odd numbers without if statement in Java language. In this post, we are going to learn how to display even and odd numbers without if statement in Java language.   First, we must…

Java program to separate even and odd numbers from an array

Java program to separate even and odd numbers from an array In this tutorial, we will discuss the concept of the Java program to separate even and odd numbers from an array In this post, we are going to learn how to separate the even and odd numbers from the given array. First, we must…

Java code to check a number is even or odd using Method

Java code to check a number is even or odd using Method In this program, we will discuss the Java code to check a number is even or odd using Method In this program, we are going to learn about how to find  odd or even number from given number using the method in the…

Java code to check whether a number is even or odd

Java code to check whether a number is even or odd In this tutorial, we will discuss a simple concept of Java code to check whether a number is even or odd In this post, we are going to learn about how to find  odd or even number from given number using if else statements in…

Single dimensional Array in Java language

Single dimensional Array in Java language Single dimension Array in Java language We will learn about Single dimensional Array in Java language The array is a data type in Java. It is a collection of similar type of elements that have contiguous index based memory location. We can use one-dimensional array to store a fixed…