일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 개발자도서#개발자책#도메인#DDD#도메인주도개발시작하기#개발스터디#
- Java#java#메모리영역#클래스로더#가비지컬렉터
- 국비지원JAVA#국비교육JAVA#국비지원자바#국비교육자바#JSP#SERVLET#서블릿#
- tibero#티베로#이중화#failvover
- 개발자#it도서#도메인#DDD#ddd
- #
- 항해플러스#항해#항해플러스3기#회고
- html#HTML#프론트엔드#개발자#코딩#국비지원#국비교육#국비지원프론트엔드#국비지원HTML#국비지원html#국비프론트엔드
- Java#java#자바#다오#디티오#브이오#dao#dto#vo
- 국비지원자바#국비교육자바#국비지원java#국비교육java#자바스크립트#프론트엔드
- 자바#Java#배열예시#연습#기초다지기
- 프로그래밍
- #java#JAVA#프로그래밍#웹개발자
- db#데이터베이스#오라클#sql
- 국비지원JAVA
- 자바
- Resource #
- 항해99 #항해플러스 #주니어개발자 #주니어개발자역량강화 #주니어개발자멘토링 #개발자사이드프로젝트 #코딩부트캠프 #코딩부트캠프후기
- 쿼리스트링#쿼리문자열#바인딩
- IntelliJ#인텔리제이#인텔리#단축키
- Java#정처기#비트연산자#정보처리기사
- spring#Spring#RequestBody#ResponseBody
- 국비지원#국비교육#국비지원자바#국비교육자바#css#HTML#JAVA
- Spring#spring#스프링#스프링프레임워크#스프링자동주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- Java#JAVA#매개변수
- 국비지원JAVA#국비지원자바#프로그랭#JSP#국비지원JSP#국비교육JSP#웹개발자#코딩
- java
- Spring#spring#스프링#스프링프레임워크#스프링의존성주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- 국비지원#국비교육
- Java#컴파일러#자바컴파일러#
- Today
- Total
목록국비지원(국비교육) 웹 개발자 과정 (49)
개린이 개발노트
클래스 -> ADD -> 인터페이스추가 추상 클래스 인터페이스(정형화를 위해서 사용)는 extents로 받고 implements를 받고 a,b,c(인터페이스 이름) 다중 상속x 다중 상속o->클래스+인터페이스 업캐스팅 자식에서 부모로 형변환 자동 형변환 인터페이스 다형성 package 연습; public interface Mineral { int getValue();// 추상메서드 } package 연습; public class Gold implements Mineral { @Override public int getValue() { return 100; } } package 연습; public class Silver implements Mineral { @Override public int getVal..
다형성 기본개념 다형성 기본형태 다형성 게임 캐릭터 기본 공격 접근제한자 package TV만들기; public class TV extends PrototypeTV { String name; boolean isInternet; public TV() { super(); name= "LG TV"; isInternet=false; } TV(String name){ super(false,20,15); this.name = name; isInternet = false; } void setPower(boolean isPower) { this.isPower = isPower; } public void setChannel(int cnl) { if(cnl>0 && 20000 && cnl=0 && vol=0 &&cnl=0..
참조 Call by Value: 내용에 의한 참조 Call by Reference: 객체에 의한 참조 싱글톤(Singleton) 패턴의 정의는 단순하다. 객체의 인스턴스가 오직 1개만 생성되는 패턴을 의미한다. final 상수선언시 변수 이름은 대문자 static 11. 다음과 같이 정의된 클래스를 작성하고, 객체를 생성해 메서드를 호출 클래스명 MATH 메서드명: max 메서드명:min Score 클래스를 생성 math , kor, eng 정수형 클래스 변수 합계 구하는 메서드 (반환타입:int) 평균구하는 메서드 (반환타입:double) public int sum() { return this.math+this.kor+this.eng; } class에 이식을 기본적으로 기억하자. package stat..
ctrl+shift+enter 누르면 한번에 정리 가능 계산기 만들기 이어서 계산을 처리할 방법을 선택해서 1. 더하기 2.빼기 3.곱하기 4.나누기 / 그 외는 종료 1 계산할 숫자 두개를 입력하세요: 13 20 (ex 더하기 계산을 처리합니다.) 결과: 33 계산을 처리할 방법을 선택해서 1. 더하기 2.빼기 3.곱하기 4.나누기 / 그 외는 종료 2 마지막에 다른 숫자를 입력하면 종료 정답 1. package 클래스; public class CalcMain { public static void main(String[] args) { Calc calc = new Calc(); //순차적으로 매개변수를 보내진다. //Calc 클래스에 num1에 5가 들어가고 num2에 3이 들어간다. //그리고 Cal..
저장공간을 얼마나 사용하고 있는지 보여줌, 이클립스 화면 최하단에 5칸짜리 배열 생성, 숫자 5개를 입력받음 최대값,최소값을 출력. 배열 중 정렬 방법 버블정렬 이라고 함 ↑ 난수 출력 (랜덤 숫자) 기본은 0보다크고 1보다 작은 소수점만 나옴. 2중배열 배열복사 위에껀 for ================지금까지 튜토리얼 ============================================================= 클래스 147page 배열 사용? 클래스를 이용해서 만들게 되면 자료형도 상관없이 다양한 것들을 보관해서 사용할 수 있게 해줌. 명령어도 만들어서 쓸 수 있음. 클래스 내부에 다양한 변수 내용을 저장해서 쓰고 추가적으로 명령어를 만들어서 쓸 수도 있음. 객체지향 클래스만드는 ..
반복문 for문, if문 이어서 1부터 입력받은 정수까지 나눠봄 -> 입력받은 정수/ 1~ 입력정수까지 -> for 딱 나눠떨어지는 값의 개수 입력받은 정수가 소수인지 아닌지 판별하는 것 3의 배수이면서 2의배수가 아닌 목록, 개수, 합계 이렇게 하면 끄트머리에 개수, 합계가 나옴 (sum+i) 로 수정해야함 +=은 앞의 변수에 뒤의 값을 더하는것 sum += i; == sum = sum+i; 이렇게 하면 줄바꿈 까지 깔끔하게 됨! (sum+i)로 수정해야함 위의 식이 정답 sum+i; 인데 sum+1로 잘못적음 ... --------------------------------------------------------------------------------------------------------..
내가 짠 코드 정답 코드 * 코드 짤 때 쿨팁 순서도를 만드는 경우, 수도코드를 만드는 경우( 코딩을 한글로 작성) 대략적으로 돌아가는 프로그램을 한글로 작성해놓고 그다음에 진짜 언어를 맞춰서 코딩하는 방식 // 주문수량을 입력받아 주문금액과 배달비를 출력할 것 물건 한개의 가격은 12000원, 배달비는 15000원 이하는 3000원, 30000원 이하는 1500원 나머지는 무료 수도코드: 물건하나 12000원(고정값)(상수= final int A = 100; , 주문수량을 입력받음, 믈건하나*주문수량: 주문금액 구함 주문금액이 15000원 이하이면 배달비 3000원/ 주문금액이 30000만원 이하면 배달비가 1500원 나머지면 무료 국어 수학 영어 점수 평균이 70점 이상이면 합격, 아니면 불합격 단 ..
1.a의 값을 출력해라 2.a가 저장된 정수를 출력해라.(정수형) 실수형 변수: float, double + 로 연결해서 사용 ( 단 숫자 끼리는 숫자로 더해짐) int a; = 10; 정수 double b; = 3.14; 실수 char c; = 'C'; 문자 String d = "hello"; 문자열 boolean e = true; 참거짓 /* 주석의 시작과 끝 */ ctrl + = 폰트 크기 조절 ctrl + / 주석 단축키 ctrl + shift + / 전체 주석 단축키 5는 다섯자리수까지 표현 .2 두번째 자리까지 .3 세번째 자리까지 그 뒤는 반올림으로 출력 이스케이프 문자 연산 5 + 10 %: 나머지 계산(연산) 10%3: 10나누기 3의 나머지를 계산 위 처럼 하면 문자로 계산이 되버림. ..
JAVA , JDK, 이클립스 다운로드 구글에 오라클 JDK 검색-> 계정만들기 JAVA 8버젼 다운로드 JDK 설치이유 일반 코드 작성 ->컴퓨터가 인지X ,컴퓨터의 언어는 2진수로 구성되어있기 때문에. 코드 작성 한 것을 컴퓨터가 인지 할 수 있도록 번역을 하는데 컴파일러,인터프린터 등을 통해서 번역. JDK->JRE(자바처리실행환경)->JVM(자바 가상머신) JDK다운로드가 이 모든 것을 포함 환경변수 설정 환경변수 설정 완료. 윈도우 R 버튼 -> cmd 입력 java -version 검색해서 제대로 설치되었는지 확인. Eclipse IDE for Enterprise Java Developers (includes Incubating components) Eclipse IDE for Enterpri..