2008-05-28 17:12:47 +02:00
|
|
|
class outer$inner
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2008-05-23 15:04:18 +02:00
|
|
|
public class PR35020
|
|
|
|
{
|
2008-05-28 17:12:47 +02:00
|
|
|
class PR35020$Inner
|
|
|
|
{
|
|
|
|
};
|
|
|
|
class inner
|
|
|
|
{
|
|
|
|
}
|
|
|
|
public static void main(String[] args)
|
|
|
|
{
|
|
|
|
System.out.println(inner.class.getSimpleName());
|
|
|
|
System.out.println(PR35020.class.getSimpleName());
|
|
|
|
System.out.println(Class.class.getSimpleName());
|
|
|
|
System.out.println((new int[7]).getClass().getSimpleName());
|
|
|
|
System.out.println((new Object[1][1][1][1][1][1][1][1]).getClass().getSimpleName());
|
|
|
|
System.out.println((new java.security.PrivilegedAction()
|
|
|
|
{
|
|
|
|
public Object run() {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}).getClass().getSimpleName());
|
|
|
|
System.out.println(PR35020$Inner.class.getSimpleName());
|
|
|
|
System.out.println(outer$inner.class.getSimpleName());
|
|
|
|
System.out.println(outer$inner.inner.class.getSimpleName());
|
|
|
|
}
|
2008-05-23 15:04:18 +02:00
|
|
|
}
|