public int inputNoticeMenu() { Scanner scan = new Scanner(System.in);
System.out.printf("1.상세조회/ 2.이전/ 3.다음/ 4.글쓰기/ 5.종료 >"); String menu_ = scan.nextLine(); int menu = Integer.parseInt(menu_); return menu; }
추가
메인 메소드 돌아와서
코드 추가 및 수정