- 887 名前:デフォルトの名無しさん mailto:sage [2010/02/16(火) 13:58:00 ]
- 問題1: 「new A[3]」「new A(i)」「int i」「s[i]」
問題2: 「new A[1]」「new A()」「int」「"hello!?"」 問題3: 「null」「b」「null」「b」 問題4: 「String(); try { Field f = A.class.getDeclaredField("a"); f.setAccessible(true); ((A[])f.get(null))[0] = new A("hello"); } catch(Exception ex){} new A」 「String(); try { Field f = A.class.getDeclaredField("a"); f.setAccessible(true); ((A[])f.get(null))[1] = new A("HELLO"); } catch(Exception ex){} new A」 問題5: 「((C)this).s」「((B)this).s」 問題6: 「((C)this).s」「」
|

|