アプリケーションのエントリポイント
main()
ドライバクラスの作成
Eclipse:
クラス名:HumanresoucesApplication
スタブの作成↓Main()
package com.makotojava.intro;
public class HumanResourceeApplication {
private static final Loggger l = Logger.getLogger(HumanResourcesApplication.class.getName());
public static void main(String args[]) {
Employee e = new Employee();
e.setFirstName("J");
e.setMiddeName(" ");
e.setLastName("Smith");
e.setEmployeeNumber("0001");
e.setTaxpayerIdentificationNumber("123-45-6789");
e.setSalary(BigDecimal.valueOf(4500.0);
e.printAudit(l);
}
}