일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- 이미지세로길이
- FileSystemObject
- wap
- 한글입력체크
- 이미지가로길이
- ERD
- join
- 인젝션
- WML
- VarType
- sql순위
- xmldom
- asp함수
- tempDB
- JavaScript
- sql랭킹
- XML
- array
- instr
- sql업데이트
- update
- MSSQL보안
- SPLIT
- jdbc driver
- javascript 한글입력체크
- 자바기초
- VARIABLE
- 정규식
- inner join
- injection
- Today
- Total
목록전체 글 (384)
3초기억력
// 좌표저장하는 클래스 // 생성자를 이용한 인스턴스 복사 // 입력값으로 클래스참조변수 class D{ int xpos, ypos; // 기본생성자 X D(int x, int y){ this.xpos = x; this.ypos = y; } D(D d1){ this.xpos = d1.xpos; this.ypos = d1.ypos; } @Override public String toString() { return "D [xpos=" + xpos + ", ypos=" + ypos + "]"; } } public class ConstructorEx2 { public static void main(String[] args) { D a1 = new D(100, 100); System.out.println(a1)..
// 회원가입 Join // * 꼭 기입 이름,전화번호,주소 // 생년월일, 직장주소, 직장전화번호 class Join{ String name; String phone; String address; String birth; String work_address; String work_phone; //우클릭 > source > Generate Constructor Using Fields public Join(String name, String phone, String address, String birth, String work_address, String work_phone) { this.name = name; this.phone = phone; this.address = address; this.birt..
// 영화의 등급은 대본 script, 연기 action, 감독 directing 점수로 결정된다. // 각 분야 10점 만점. package HomeWork; public class MovieRating { public static String Movie(int a, int b, int c){ int script = a; int action = b; int directing = c; String movieRating; int total = script + action + directing; if (total >= 0 && total = 10 && total < 21) { movieRating = "B등급"; } else..
//상품 A10001, 기초재고량 500 // 재고 증가, 감소값 각각 입력받아서 //기능 - 재고증가, 재고감소 package HomeWork; import java.util.Scanner; class GoodsStock{ String goodsCode; int stockNum; void addStock(int a) { //재고 더하기 stockNum = stockNum + a; System.out.println(goodsCode + "의 재고수량은 "+ stockNum +"개 입니다."); } int subStock(int b) { stockNum = stockNum - b; System.out.println(goodsCode + "의 재고수량은 "+ stockNum +"개 입니다."); return..
//계좌번호, 잔액 - 클래스 생성 // 기능 - 입금, 출금, 잔액조회 package Class; class Account{ String acc_Number; int money; //기능 - 입금 void deposit(int a) { money = money + a; System.out.println("입금액 : "+ a); } int search(String a) { return money; } //기능 - 출금 후 잔액조회 void withdraw(int a) { money = money - a; System.out.println("출금액 : "+ a); } } public class ClassEx_1 { public static void main(String[] args) { //계좌 생성 Ac..