万事万物的类
{
类体
}
public class JavaApplicarion { public static void main(String[]args){ System.out.println("Hello teather"); A a =new A() ; a.f1(); } class A { String s; void f1() { System.out.println("java"); } } }
class JavaApplicicarion{ String stuNO; String name ; int age; void changeAge (int a) { age = age +a; } String changStuNO(String NO){ StuNO =NO; return } }