Question: 1. Use Notepad to create new text file named EX05_1.java. Enter the following lines (be sure to replace YourFullName with your full name). // FileName:


1. Use Notepad to create new text file named "EX05_1.java". Enter the following lines (be sure to replace YourFullName with your full name). // FileName: EX05_1.java // Programmer: YourFullName 2. Then, enter following code which will create an int array with 50 elements. Each element is an integer randomly picked from the range of 1 to 99. import javax.swing.JoptionPane; import java.util. Random; public class Ex05_1 \{ public static void main(String[] args) throws Exception \{ Random rn= new Random( ) int []x= new int [50]; for (int i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
