Skip to content

Instantly share code, notes, and snippets.

@diaolizhi
Created September 29, 2018 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diaolizhi/a154019df8b5c0650106260bac69b4cf to your computer and use it in GitHub Desktop.
Save diaolizhi/a154019df8b5c0650106260bac69b4cf to your computer and use it in GitHub Desktop.
创建泛型数组
Item[] a = (Item[]) new Object[N];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment