count number of even and odd elements in an array in java

Let’s learn to count number of even and odd elements in an array in java. count number of even and odd elements in an array…

Read More

Java program to put even & odd elements of an array in 2 separate arrays

Let’s learn java program to put even & odd elements of an array in 2 separate arrays. Java program to put even & odd elements…

Read More

How to remove all elements from arraylist in java

Let’s learn how to remove all elements from arraylist in java. How to remove all elements from arraylist in java We can remove all elements…

Read More

How to remove last element from arraylist in java

Let’s learn how to remove last element from arraylist in java. How to remove last element from arraylist in java To remove last element from…

Read More

Java program to find maximum and minimum number without using array

Let’s learn java program to find maximum and minimum number without using array. Java program to find maximum and minimum number without using array In…

Read More

Program to find area of rectangle using inheritance in java

Let’s learn program to find area of rectangle using inheritance in java. Program to find area of rectangle using inheritance in java We can calculate…

Read More

Java program to find area of circle and rectangle using interface

Let’s learn java program to find area of circle and rectangle using interface. Java program to find area of circle and rectangle using interface We…

Read More

Java program to calculate area of circle rectangle and triangle using switch statement

Let’s learn java program to calculate area of circle rectangle and triangle using switch statement. Java program to calculate area of circle rectangle and triangle…

Read More

swap two variables in java in single line

Let’s learn to swap two variables in java in single line. swap two variables in java in single line In single expression we can swap…

Read More

swap three variables in java without using temporary variable

Let’s learn to swap three variables in java without using temporary variable. swap three variables in java without using temporary variable In the below example…

Read More