전체 글
-
Feb 5. 2019카테고리 없음 2019. 2. 5. 12:28
40% of Ontario full-time post-secondary students granted free tuition, CBC analysis shows * Secondary Education (High School) , Post-secondary Education (College/University) , grant : (흔히 수동태로) ~ sth (to sb/sth) | ~(sb) sth (특히 공식적법적으로) 승인[허락]하다.CBC News posted:Feb 04, 2019 https://www.cbc.ca/news/canada/toronto/ontario-schools-tuition-data-1.5003005Loyalist, Centennial and George Brown among to..
-
생성자카테고리 없음 2019. 1. 25. 15:21
생성자란?인스턴스가 생성될 때 호출되는 '인스턴스 초기화 메서드'이다. 하나의 클래스에 여러개의 생성자가 존재할 수 있다. 클래스이름 (타입 변수명, 타입 변수명, ...) { //인스턴스 생성 시 수행 될 코드, // 주로 인스턴스 변수의 초기화 코드를 적는다.} * 연산자 new가 인스턴스를 생성하는 것이지 생성자가 인스턴스를 생성하는 것이 아니다.-클래스 A 에 매개변수가 있는 생성자를 작성하고 클래스 B에서 매개변수 없이 클래스 A의 인스턴스를 생성한다면 오류가 난다-> A의 인스턴스를 생성할 때 생성자 A(int x)를 사용하거나 클래스 A에 A()을 추가로 정의하면 된다. -출처 : 자바의 정석-
-
클래스Back-end/Java 2019. 1. 24. 12:01
1.클래스 : 객체를 정의한 것 (설계도) / 설계도(클래스)를 이용해서 자동차(객체)를 만든다고 이해하면 쉽다. 객체지향에서는 유형뿐만아니라 무형(논리,개념 등)도 객체로 인정한다.: 프로그래밍언어 관점에서 보자면 클래스는 변수(데이터)와 함수를 하나의 클래스에 정의한 것이다. -클래스의 인스턴스화 : 클래스로부터 객체를 만드는 과정 -인스턴스 : 어떤 클래스로부터 만들어진 객체를 그 클래스의 인스턴스라고 한다.-속성 : 멤버변수, 특성, 필드, 상태 -> 멤버변수-기능 : 메서드, 함수, 행위 -> 메서드-인스턴스의 생성과 사용 : 클래명 변수명; // 객체를 참조하기 위한 참조변수를 선언 변수명 = new 클래스명(); // 객체 생성 후, 객체의 주소를 참조변수에 저장 -> 연산자 new에 의해 ..
-
Jan 22 2018개인공부/영어 2019. 1. 22. 10:42
Trudeau, Freeland held 20 high-level international talks with allies on China disputehttps://www.cbc.ca/news/politics/trudeau-freeland-china-diplomatic-push-1.4987378 posted : Jan 21, 2019 Prime Minister Justin Trudeau and Foreign Affairs Minister Chrystia Freeland have been working the phones in an effort to get Canada's allies on side in Ottawa's dispute with China.' outreach : [N] (지역 주민에 대한 ..
-
Jan 18 2019개인공부/영어 2019. 1. 18. 13:14
토익 단어 postpone 연기하다 magnify 확대하다toward ~을 향해, ~쪽으로throughout ~ 전반에 걸쳐solicitation 간청,권유appointed 임명된vacant position 공석intimately 친밀하게, 스스럼없이permissibly 허용되어haltingly 머뭇거리며in as much as -이므로, -인점을 고려하여 China envoy to Canada warns of 'repercussions' if Ottawa bans Huawei from 5G mobile phone networkhttps://www.cbc.ca/news/politics/china-envoy-warning-huawei-ban-1.4982601 1.rep..