Created
January 1, 2012 18:28
-
-
Save notyy/1547987 to your computer and use it in GitHub Desktop.
Java covaiant
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
Object s = "abc"; | |
List<Object> objects = new java.util.ArrayList<String>(); | |
String[] a = new String[] { "abc" }; | |
Object[] b = a; | |
b[0] = 1; | |
System.out.println(a[0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment