Skip to content

@liweinan /gist:2356814
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
获取Class的方法
/* 方法 1: 使用 .class */
Class c = String[].class;
/* 方法 2: 使用实例的getClass()方法 */
c = new String[1].getClass();
/* 方法 3: 使用 Class.forName */
c = Class.forName("[Ljava.lang.String;");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.