Day 2: Java Fundamentals
Practice
Create Java applications that:
-
Create large array
-
Read (n) number from the user using Scanner calss (should be more than 10,000)
-
Create Array with the (n) number as the size
-
Fill the array with random numbers using java Random class (numbers should be between 1 and 1000)
-
[optional] Write array to text file where each file should be written on single line
-
-
Calculate and Print
-
Sum of all the array items.
-
Average of all the array items
-
Most frequent three numbers
-
-
Push your work to GitLab