본문 바로가기

전체 글

Oracle DB 생성 Microsoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>sqlplus /nolog SQL*Plus: Release 11.2.0.2.0 Production on 목 6월 22 16:00:56 2017 Copyright (c) 1982, 2014, Oracle. All rights reserved. SQL> conn /as sysdbaConnected.SQL> create user zipcode identified by 1234; User created. SQL> grant connect, resource to zipcode; Grant succeede.. 더보기
Eclips Window Builder 설치 1. 이클립스 실행 후 Help - Install New Software 선택 2. Add 선택 3. 아래와 같이 입력 Name : WindowBuilder Location : http://download.eclipse.org/windowbuilder/WB/integration/4.5/ 4. Select All - Next 5. Next 5. Next 6. Restart Eclips 더보기
주민번호 검증 public static void main(String[] args) {String jumin = "123456-7890123";String yy = jumin.substring(0, 2);//12String mm = jumin.substring(2, 4);//34String dd = jumin.substring(4, 6);//56String sex = jumin.substring(7, 8);//7String yyyy = yy; /* if문if(sex.equals("7")){}*/ // switch문switch(sex) {case "1" : case "2" : case "5" : case "6" : yyyy = "19" + yy; break;case "3" : case "4" : case "7" : ca.. 더보기
printf, println, print 차이 System.out.printf("%-4s %c %3d \n", "둘리" , 'A', 12);//String type : 왼쪽 4자리수 정렬//char type : 출력//int type : 3자리수 정렬//서식 형태의 자료 출력 System.out.println("둘리 A 12");//직관적 출력뒤 줄바꿈 System.out.print("둘리 A 12\n");//직관적 출력 줄바꿈 \n 입력 둘리 A 12둘리 A 12둘리 A 12 더보기
switch 예제 int score;char grade;System.out.print("점수를 입력 하세요 : ");score = in.nextInt();switch(score/10) {case 10: /* grade='A'; break; */case 9:grade='A'; break;case 8:grade='B'; break;case 7:grade='C'; break;case 6:grade='D'; break;default : grade='F';}System.out.println("점수는 : "+score+", 학점 : "+grade); 더보기
eclipse 설치 (Java EE) JAVA 공부를 위한 Eclipse 설치 하기 1. 이클립스 다운로드- www.eclipse.org- Download 2. Download Packages 선택- Download 64 BIT 선택시 Install 형태의 Eclipse가 다운됨- 향후 다 수의 Eclipse 설치를 위해 Package(zip) 형태의 Eclipse 다운로드 3. 다운로드 - 기본 다운로드 위치가 해외일 경우 국내 서버 선택 후 다운로드 진행 - KAIST 서버를 이용한 다운로드 4. 다운된 파일 압축 해제 5. 압축 해제된 Eclipse 6. Eclipse 폴더 이동- C:\ 또는 D:\ Root 경로로 이동 7. Eclipse 실행 파일 바로가기 생성- eclipse.exe 파일에서 오른쪽 버튼 클릭 - 보내기 - 바탕 .. 더보기
JAVA JDK 설치하기 1.시스템 종류 확인- 바탕화면-컴퓨터-우클릭-속성- 시스템이 64비트 또는 32비트 확인 2.JDK 다운로드- http://www.oracle.com- Downloads-Java SE 선택 - JDK Download 선택 - Accept License Agreement 선택 후- 64비트 : Windows x64 다운로드- 32비트 : Windows x86 다운로드 3.JDK 설치 - 설치 위치 메모 환경변수에 추가해야 함 4.환경변수 등록- 바탕화면-컴퓨터-우클릭-속성-고급 시스템 설정 클릭 - 환경변수 선택 - 새로 만들기 - 변수 이름 : JAVA_HOME- 변수 값 : C:\Program Files\Java\jdk1.8.0_131- JDK 설치 경로를 입력 해야함(3번항목) - Path 선택 후.. 더보기
스마트폰 네이버웍스 메일 설정(POP) 1.설정-계정 선택 2.계정추가 3.이메일 4.직접입력 5.계정&패스워드 입력 후 수동설정 6.pop3 계정 7.삭제 옵션 안함 선택 8.보내는 서버 설정 9.동기화 주기 선택 10.완료 더보기