• Img
  • Img
  • Img
  • Img
  • Img
  • Img
  • Img
  • Img
  • Img
  • Img

Java Array Programs

For Classes VI to X

S.No.
Java Array Based Programs
Action
1
Write a program to sort the name of ten students. Solution
2
Write a Java Program to find the frequency of each element in the array.
3
Write a java program to sort the names and marks of ten people respectively Solution
4
Java Program to print the duplicate elements of an array.
5
Java Program to print the elements of an array.
6
Java Program to print the elements of an array in reverse order.
7
Java Program to print the elements of an array present on even position.
8
Java Program to print the elements of an array present on odd position.
9
Java Program to print the largest element in an array.
10
Java Program to print the smallest element in an array.
11
Java Program to print the number of elements present in an array.
12
Java Program to print the sum of all the items of the array.
13
Java Program to right rotate the elements of an array.
14
Java Program to sort the elements of an array in ascending order.
15
Java Program to sort the elements of an array in descending order.
16
Java Program to Find 3rd Largest Number in an array.
17
Java Program to Find 2nd Largest Number in an array.
18
Java Program to Find Largest Number in an array.
19
Java to Program Find 2nd Smallest Number in an array.
20
Java Program to Find Smallest Number in an array.
21
Java Program to Remove Duplicate Element in an array.
22
Java Program to Print Odd and Even Numbers from an array.
23
Java program to print maximum and minimum number.
24
Write a Java Program to copy all elements of one array into another array.
25
Write Java Program to left rotate the elements of an array.