일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 자바 야구게임
- Login with OAuth Authentication
- 이클립스
- full text indexing
- angular2
- IBatis procedure
- 자바
- 야구게임
- 다운캐스팅
- 상속
- Full text
- 단축키
- 상속예제
- 25가지 효율적인 sql작성법
- 형변환
- 다형성
- 전체
- 페이징
- Random
- 스프링
- while
- jquery
- 업캐스팅
- 전체텍스트
- 가변인자
- 추상클래스
- 로또
- Validations
- 전자정부
- Today
- Total
목록전체 글 (448)
nalaolla
package test.com; import java.util.Scanner; public class Test04Game2 { final static String SID = "aa"; final static String SPWD = "bb"; final static String TITLE = "[GAME PROGRAM]"; final static String LINE = "=============================="; static int loginResult = 0; public static void main(String[] args) { // TODO Auto-generated method stub //1. 게임실행 //2. 로그인 (id = aa, pwd = bb) //3. 정상로그인 >..
package test.com; public class Test04Game { public static void main(String[] args) { // TODO Auto-generated method stub final String TITLE = "[game program]"; // 타이틀 ment 초기화 String line = "=================================="; // 라인설정 //1. 로그인 //1_1. 아이디/패스워드 검증 (id : danielkim, pwd : 1234) // >> 맞으면 게임진행, 틀리면 잘못입력 //2. 맞으면 게임진행 //2_1. 캐릭터 선택 (1.인간 2.괴물 3.로봇) //인간 - 공격력 5, 방어력 6 //괴물 - 공격력 8, 방어..
package test.com; public class Test03VendingMachine2 { public static void main(String[] args) { // TODO Auto-generated method stub // 콜라500, 사이다700, 쥬스1000 final String TITLE = "[자판기 프로그램]"; // 타이틀 ment 초기화 String line = "=================================="; // 라인설정 System.out.println(TITLE); System.out.println(line); System.out.println("금액을 투입하세요"); int money = 1499; System.out.println("투입금액 : ..
package test.com; import java.util.Scanner; public class Test03VendingMachine { public static void main(String[] args) { // TODO Auto-generated method stub // 콜라500, 사이다700, 쥬스1000 final String TITLE = "[자판기 프로그램]"; //타이틀 ment 초기화 String line = "=================================="; //라인설정 String prod1Name = "콜라"; String prod2Name = "사이다"; String prod3Name = "쥬스"; int prod1Price = 500; //제품1 금액 i..
package test.com; import java.util.Scanner; public class Test03PhoneBook { public static void main(String[] args) { // TODO Auto-generated method stub int choice; while(true) { showMenu(); choice = keyboard.nextInt(); keyboard.nextLine(); switch (choice) { case 1: readData(); break; case 2: System.out.println("프로그램을 종료합니다."); return; } } } public static void showMenu() { System.out.println("선택하세..
package test.com; public class Test02Score { public static void main(String[] args) { //성적처리 프로그램 String nKor = "국어"; String nEng = "영어"; String nMath = "수학"; int korScore = 50; int engScore = 34; int mathScore = 28; int totalSum = korScore + engScore + mathScore; //double totalAvg = (double) totalSum / 3; double totalAvg = Math.round(((double) totalSum / 3)*10)/10d ; -->소수2째자리까지만 노출시키고자 한다. Str..