/* * 演習5-16 * クラス作成と呼び出し方法の確認 */ // 実行クラス public class PersonInfoViewer { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub // オブジェクトの生成 PersonInfo pInfo = new PersonInfo(); // 表示メソッドの呼び出し. pInfo.showPersonInfo(); } }