- Write Java statements to create an ArrayList to hold 25integers and initialize the objects in the ArrayList created to -Then write statements to change the values of the first, second andfifth elements of the ArrayList to 133.
- Create a program that opens a file named statistics.txt foroutput. Writes the integers 24, 55, and 76 to the file, and thencloses the file.
- The programming statements used to accomplish a threads taskshould be included in the method:
- start()
- init()
- run()
- none of the above
- The sleep method of the Thread class requires one formalparameter that represents the number of:
- nanoseconds
- microseconds
- picoseconds
- milliseconds
- Write Java statements to create an ArrayList to
OROR