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[] arr2 = {11, 23, 37, 41, 53};
- 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.print("The first array is filled with the following values:\n\t");
- for ( int i=0; i<arr1.length; i++ ) {
- System.out.print(arr2[i] + " ");
- System.out.println();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement