#1. Store your data in an Array:
Provide Java code to create and initialize an array of integers (Java primitive int), floats or any other Java primitive type of your choice.
You pick the array name and length.
Demonstrate how you would determine the length of your array. Show this through a code example you create where you use the length member
#2. Create your own Java Class:
Design and implement your own simple class to represent any household item of your choice (toaster, fan, hair dryer, piano ...) Your class should have a constructor, one additional method and at least one member variable (e.g. boolean isOn to turn the item on or off). Be sure you demonstrate your class works properly by constructing an instance of it and calling your method.
#3. Generate X Random Numbers:
Create your own simple Java application to generate X random Integer values between 0 and Y. Use command line arguments for entry of X and Y.
Demonstrate your code compiles and runs without issue using screen captures as appropriate.
#4. Read data from a file:
Create your own data file consisting of integer, double or String values.
Create your own unique Java application to read all data from the file echoing the data to standard output. After all data has been read, display how many data were read. For example, if 10 integers were read, the application should display all 10 integers and at the end of the output, print "10 data values were read"
Demonstrate your code compiles and runs without issue.