ex8.java

来自「讲述各种各样的java初始编程 了解编程」· Java 代码 · 共 27 行

JAVA
27
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package chenchao3;/** * * @author williechen */public class Ex8 {    public void method1() {        System.out.println("Invoke method1");    }    public static void method2() {        System.out.println("Invoke method2");    }    public static void main(String args[]) {        Ex8 a = new Ex8();        a.method1();        method2();    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?