Category: Java Programs
Java Array programs, Array one-dimensional, 2 dimensional programs, ArrayList programs, Java Collection programs, Java Threads example, Core Java programming examples
How to merge two one -dimensional arrays in java ?
The blog provides the technical approach on ” How to merge two one dimensional arrays in java ?” Problem Statement: How to merge two one dimensional arrays in java ? Solution Approach: Get Count for 1st One dimensional array Get …
How to merge two one -dimensional arrays in java ? Read more »
Java program to sort array in ascending or descending order
Java Array sorting is another commonly asked interview questions for Java Programmers. The blog provides the solution approach for writing java program to sort array in ascending order or descending order Problem Statement 1: Sort an array in Ascending Order Consider …
Java program to sort array in ascending or descending order Read more »
Java program to add, subtract and multiply 2 dimensional array
The blog provides the technical solution for w dimensional arrays in java. 2 dimensional arrays are the most important java array topic in interviews for java developers. Java Array questions like ” how to find multiplication of two matrix in …
Java program to add, subtract and multiply 2 dimensional array Read more »
Program to sort an array and search element in java
The blog provides the technique to sort an array and how to search a array element at particular index value. Array sorting and Array search are important interview questions for java developers for exam and technical interview preparation. Problem Statement: …
Program to sort an array and search element in java Read more »
Java array interview program to reverse an array
The blog provides the technique to reverse an array in java . “How to reverse an array” or “how to reverse an array list using collections” are the commonly asked interview questions for java developers for exam and technical interview …
Java array interview program to reverse an array Read more »
How to print ODD and EVEN elements from an array in java
The blog provides the technical approach on ” how to find the ODD and EVEN array elements in a one dimensional array” Problem Statement: Identify ODD and EVEN elements in one dimensional array Solution Approach: Retrieve the Array Count from …
How to print ODD and EVEN elements from an array in java Read more »
sum of one-Dimensional array elements in java
One-Dimensional Arrays is one of the basic and the commonly asked questions in the Technical Interviews. Problem Statement: Java program to read ‘N’ array elements from One dimensional Array and print the sum of all array elements Solution Approach: What …