Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public class Main {
- public static void main(String[] args) {
- String[] arr1 = {"alpha", "bravo", "charlie", "delta", "echo"};
- int[] arr2 = {34, 69, 51, 33, 15};
- System.out.print("The first array is filled with the following values:\n\t");
- for (int i = 0; i < arr1.length; i++)
- System.out.print(arr1[i] + " ");
- System.out.println();
- System.out.println();
- System.out.println("The second array is filled with the following values:\t");
- System.out.print("\t");
- for (int a = 0; a < arr2.length; a++) {
- System.out.print(arr2[a] + "\t ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement