Skip to content

Instantly share code, notes, and snippets.

@TyOverby
Created June 1, 2012 01:45
Show Gist options
  • Save TyOverby/2847983 to your computer and use it in GitHub Desktop.
Save TyOverby/2847983 to your computer and use it in GitHub Desktop.
public class Test {
private static class Foo{
}
private static class Bar{
}
public static void main(String... args){
Foo[] fooArray = new Foo[10];
fooArray[0] = new Bar();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment