Java Arrays

Back To Java Index


1. program to input integer array from user and then display it using for loop - Code
2. program to input integer array of size 5 using while loop and then display the integer array using while loop - Code
3. program to input an integer array of size 5 from the user and calculate total of the integer array using for loop - Code
4. program to input an integer array of marks in 5 subjects and calculate percentage - Code
5. program to input array of 10 integer elements and find sum of even and odd numbers using for loop - Code
6. program to input an array of 10 integer elements and calculate largest even and odd number from the array using for loop - Code
7. program to initialize an array of 10 elements and find smallest even and odd number - Code
8. program to find maximum and minimum number in an integer array - Code
9. program to input a character array from the user and find its length - Code
10. program to input a float array from user and display it using for loop - Code
11. program to input a string or a char array from the user and then display it - Code
12. program to input a char array (string) and count number of vowels in the string - Code
13. program to input an integer array and pass this array to method , method prints the integer array - Code
14. program to demonstrate stack as array - Code