⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 liststringmethods.java

📁 程序练习中包括书中实例程序代码和练习中要用到的代码,是压缩文件
💻 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 + -