📄 liststringmethods.java
字号:
package examples.rtti;
import java.lang.reflect.*;
/** A class used to demonstrate the use of the
* reflection API
*/
public class ListStringMethods {
/** Test method for the class
* @param args not used
* @exception ClassNotFoundException
* Thrown if the class being
* investigated isn't found
*/
public static void main( String[] args )
throws ClassNotFoundException {
Method[] ma
= String.class.getMethods();
for( int i=0; i < ma.length; i++ ) {
System.out.println( ma[i] );
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -