|
Last change
on this file since 3103 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
223 bytes
|
| Line | |
|---|
| 1 | public class klass
|
|---|
| 2 | {
|
|---|
| 3 | public static void main (String[] args)
|
|---|
| 4 | {
|
|---|
| 5 | Class ic1 = Integer.TYPE;
|
|---|
| 6 | int[] foo = new int[3];
|
|---|
| 7 | Class ic2 = foo.getClass().getComponentType();
|
|---|
| 8 | System.out.println(ic1.equals(ic2));
|
|---|
| 9 | }
|
|---|
| 10 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.