본문 바로가기

2018/1137

11월 30일 국비교육 5일차 #1Class 원칙 : 멤버 (상수, 변수, / 생성자, 메소드, 이너클래스 ,,,) / 메소드(생성자, 메소드); * 은닉(private)된 멤버변수에 오픈(Public)된 메소드를 통해 값을 전달 및 변경(void형 setter)하고 리턴(return형 getter)하는 구조 #2static, class : 선언과 동시에 주소가 생성된다. #3static / non_staticvoid / return static_ return 형 : 메소드를 호출하게 되면 return 키워드를 통해 값을 리턴하는 구조를 가진다. [형식]접근제한자 : static datatype User_Name(object...args){//코드return datatype value; } [호출하는 방법]datatype 변수 Use.. 2018. 11. 30.
국비교육 4일차 #1 어제 복습1. 리터럴에 대하여 설명할 수 있다2. 데이터타입과 변수에 대하여 설명할 수 있다.3. 기본 자료형 참조형 변수에 대하여 설명할 수 있다.기본 자료형 = boolean, byte, char, short, int, long, float, double참조형 = String(문자열), array(배열)4. 자료형간의 캐스팅(묵시형, 명시형)을 구현할 수 있다.5. java.lang의 표준 출력에 대한 메소드를 호출할 수 있다. System.out.println() System.out.printf(String format, Object...args); out = java.io.PrintStream String format = "%c, %d %f %s %o %f" #2static[고정] / non.. 2018. 11. 29.
11월 28일 - Ray Dalio Principles 163p Make sure all the "must do's" are above the bar before you do anything else. First, distinguish between your "must do's" and your "like to do's". Don't overlook any "must do's" and don't mistakenly slip the "like to do's" onto the list. Then, get all the "must do's" above the bar. If you have time, turn to the "like to do's" and try to get them above the bar. Only if you have time (though you ce.. 2018. 11. 28.
11월 28일 국비교육 3일차 #11. 자바의 기본단위(실행 단위) class이다. 2. 클래스란? user data type(사용자가 만드는 자료형)이다.3. 자바가 제공되는 jar안에 들어있는 class 들을 이용해서 자주 사용하고자 하는 user만의 자료형을 놓고 호출하는 개념.4. 원형 접근제한자 class User_Name {멤버변수[값]; 생성자[초기값]; 멤버메소드[명령실행].. } -> 생성자는 자동으로 만들어짐, class = 속성(변수) + 메소드(기능) ex) 개념 -> 자료형 -> 기본 입출력 -> 연산자 -> 기본구문(반복, 조건문, 제어문 등) -> 배열 -> 객체 생성 -> 상속 -> 다형성 -> 예외처리 -> 컬렉션 -> 파일입출력 -> 스레드 -> 네트워크 -> GUI -> 오라클 -> JDBC #2OO.. 2018. 11. 28.
11월 27일 - Ray Dalio Principles 157~162p Push through! You can make great things happen, but you must MAKE great things happen. Times will come when the choice will be to plod along normally or to push through to achieve the goal. The choice should be obvious. Ray Dalio [Principles] 2018. 11. 27.
11월 27일 국비교육 2일차 ^_^ #1명령어 MD = MKDIR = Make Directiory RD = RMDIR = Remove Directory #2일반 파일 실행 단위 : exe자바 기본 실행 단위 : class #3저장할 때 class 뒤에 이름을 저장하는데 공백이 있을 경우를 주의할 것 #4javac = java에 맞게 컴파일 해줌 => class파일을 만들어줌 #5자바에서 주석처리는 // - 한줄, /* */ 두줄 이상 #6println != print println은 line을 바꿔주는 기능! #71. 파일 저장ⓐ 코드작성 파일명.java => java파일ⓑ javac 파일명.java => 컴파일 한다, 파일명.classⓒ java 파일명 => .class로 실행 2. class Test{ } 클래스이름으로 저장한다.. 2018. 11. 27.