이클립스(485)
-
프로토타입을 사용한 메소드 생성- 11.html
프로토타입을 사용한 메소드 생성 학습내용 (중요)프로토타입은 생성자 함수를 사용해 생성된 객체가 공통으로 가지는 공간 prototype영역 호출 메모리 영역의 효율성 증가 상속에서도 동일한 개념이 나옴 소스 코드 function Student(name, korean, math, english, science){ this.name = name; this.korean = korean; this.math = math; this.english = english; this.science = science; } //프로토타입은 생성자 함수를 사용해 생성된 객체가 공통으로 가지는 공간 //prototype영역 호출 //메모리 영역의 효율성 증가 Student.prototype.getSum = function(){ r..
-
화면 크기 별 밀도(density)
화면 크기 별 밀도(density) 화면크기밀도QVGA (240*320) Low density(120), ldpiWQVGA400 (240*400)Low density(120), ldpiWQVGA432 (240*432) Low density(120), ldpiWVGA800 (480*800) Low density(120), ldpiWVGA854 (480*854) Low density(120), ldpiHVGA (320*480) Medium density(160) mdpiWVGA800 (480*800)Medium density(160) mdpiWVGA854 (480*854) Medium density(160) mdpiWVGA800 (480*800)High density(240) hdpiWVGA854 (480*..
-
Ex06-리터럴 상수 출력
리터럴 상수 출력 정수형 상수 출력 실수형 상수 출력 문자형 상수 출력 문자열 상수 출력 소스코드int main(void) { //정수형 상수 출력 printf("%d, %x %o\n", 10, 10, 10 ); printf("%d, %x %o\n", 17, 17, 17 ); printf("10진수 정수형 상수: %d + %d = %d\n",10, 20, 10+20); //Ox상수 -> 16진수 printf("16진수 정수형 상수 %x + %x = %x\n",0x10, 0x20, 0x10+0x20); //0상수 -> 8진수 printf("8진수 정수형 상수: %o + %o = %o\n",010, 020, 010+020);\ //실수형 상수 출력 printf("\n"); printf("실수형 상수: %lf..
-
prototype 확인- 21.html
prototype 확인 객체 리터럴 방식으로 생성된 객체는 Object.prototype 객체가 프로토타입 객체가 된다는 것을 확인 할 수 있습니다. 소스 코드 var student = { name: 'student', age: 30 }; console.log(student.toString()); console.dir(student); 출력결과 크롬 브라우저의 출력결과 Object age: 30 name: "student" __proto__: Object __defineGetter__: function __defineGetter__() { [native code] } __defineSetter__: function __defineSetter__() { [native code] } __lookupGette..
-
Android OS Update PROCESS, 안드로이드 운영체제 업데이트 과정
안드로이드 운영체제 업데이트 과정 TAG INFO 출처 http://www.htc.com/us/go/htc-software-updates/
-
Ex05-변수의 시작주소 출력하기
변수의 시작주소 출력하기 &: 주소연산자, 변수의 시작주소를 출력 주소값은 16진수로 찍는다. 스택 메모리 구조 지역변수는 스택이라는 메모리공간에 차곡차곡 쌓이게 됩니다. 소스코드 #include int main(void){ int a=3; int b=7; int c=10; printf("a의 값 : %d \n", a); printf("b의 값 : %d \n", b); printf("c의 값 : %d \n", c); printf("변수 a의 시작 주소 : %x \n", &a); printf("변수 b의 시작 주소 : %x \n", &b); printf("변수 c의 시작 주소 : %x \n", &c); printf("\n"); //메모리값을 통해 메모리 순서형태대로 찍어보기 (지역변수가 메모리에 쌓이는 순..