class Employee { int DOB; int eid; String name; double salary; System.out.println("Employee class"); }
如果我在System.out.println里面写一个方法,它似乎工作.但不是直接在课堂上写的.为什么需要一种方法?
System.out.println
java
java ×1