a.
ARRAYS IN JAVA
1. What is an array in Java?
2. What are the types of an array?
3. Is it possible to declare array size as negative?
4. What is the difference between int array[] and int[] array?
5. What do you understand by the jagged array?
6. What happens if we declare an array without assigning the size?
7. When ArrayIndexOutOfBoundsException occurs?
8. what are the advantages and disadvantages of an array?
9. Write a program to read n number of values in an array and display it in reverse order
10. Write a program to find the sum of all elements of the array
11. Write a program to print all unique elements in an array.
12. Write a program to find the maximum and minimum element in an array.
13. Java Program to Print Odd and Even Numbers from an array
14. Write a program to sort elements of array in ascending order
15. Java Program to print the elements of an array present on odd position.
16. Program to find the pairs in the array
eg:[10 20 10 10 30 20 30 10 ]
output:4
17. How to Sort an Array in Java
18. Write a program to implement sparse matrix
19. Write a program to implement matrix addition
20. Write a program to implement matrix multiplication
21. Write a program to implement unit matrix
100
010
001