Created
June 9, 2014 21:46
-
-
Save SergioGeeK7/d17a911c8edbf3e68d49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void main (String args[]){ | |
int z [] = {1,2,3,4}; | |
ArrayList b = new ArrayList(); | |
List <Integer> a= new ArrayList<>(); | |
ArrayList <String> r = new ArrayList<>(); | |
print(new int []{1,2,3}); | |
System.out.println( new int[]{1,2,3} ); | |
} | |
private static void print(int[] i) { | |
System.out.println(Arrays.toString(i)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment