Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- String[] arr1 = {"alpha", "bravo", "charlie", "delta", "echo"};
- int[] ray = {11, 23, 37, 41, 53};
- System.out.println("The first array is filled with the following values:");
- for (int i = 0; i < arr1.length; i++) {
- System.out.print(arr1[i] + " ");
- }
- System.out.println();
- System.out.println("\nThe second array is filled with the following values:");
- for (int j = 0; j < ray.length; j++)
- System.out.print(ray[j] + " ");
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement