Last change
on this file was 1389, checked in by bird, 21 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:
328 bytes
|
Line | |
---|
1 | import java.lang.reflect.*;
|
---|
2 | public class pr8415
|
---|
3 | {
|
---|
4 | public static void meth () throws NullPointerException
|
---|
5 | {
|
---|
6 | throw new NullPointerException();
|
---|
7 | }
|
---|
8 |
|
---|
9 | public static void main(String[] args) throws Throwable
|
---|
10 | {
|
---|
11 | Class k = pr8415.class;
|
---|
12 | Method m = k.getMethod ("meth", new Class[0]);
|
---|
13 | System.out.println(m);
|
---|
14 | }
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.