for문의 범위는
: for~최초의;만날때까지로 인정
: 플로어 차트에서 마름모 모양 -> 다음은 사각형 (+ NS차트 참조)
배열
: 기억장소의 개수를 저장하는 length 맴버가 자동으로 만들어진다.
: 기본적으로 new 연산자로 정의 = 객체
: 배열의 시작번지 받아들일 수 있는 참조 변수를
스택 메모리 상에 정의했을 뿐이다. (실제배열은 만들어지지 않는다.)
:1차원 자료형
-> 자료형 배열명[]
배열명 new 자료형[개수]
: new연산자는 heap영역에 저장된다.
: 다차원 배열
-> 불필요하게 차원수를 높이면 낭비될 수 있다.
-> 자료형 배열명[][] // 선언:실제 구성은X
// stack에 참조형 변수가 만들어짐(null로)
배열명 new 자료형[행의 개수][열의 개수] // 선언:실제 구성은X
함수
: 필요할 때만 꺼내 쓰고 아닐때는 운영체재가 수거 (효율적 메모리 활용)
전역/지역 개념-> class형태로 만들어 필요할 때마다 호출해서 사용
element
| Font | |
|---|---|
| font-family | |
| font-size | |
| font-style | |
| font-variant | |
| font-weight | |
| letter-spacing | |
| line-height | |
| text-decoration | |
| text-align | |
| text-indent | |
| text-transform | |
| white-space | |
| word-spacing | |
| color | |
| Background | |
| bg-attachment | |
| bg-color | |
| bg-image | |
| bg-position | |
| bg-repeat | |
| Box | |
| width | |
| height | |
| border-top | |
| border-right | |
| border-bottom | |
| border-left | |
| margin | |
| padding | |
| max-height | |
| min-height | |
| max-width | |
| min-width | |
| outline-color | |
| outline-style | |
| outline-width | |
| Positioning | |
| position | |
| top | |
| bottom | |
| right | |
| left | |
| float | |
| display | |
| clear | |
| z-index | |
| List | |
| list-style-image | |
| list-style-type | |
| list-style-position | |
| Table | |
| vertical-align | |
| border-collapse | |
| border-spacing | |
| caption-side | |
| empty-cells | |
| table-layout | |
| Effects | |
| text-shadow | |
| -webkit-box-shadow | |
| border-radius | |
| Other | |
| overflow | |
| cursor | |
| visibility |
element
| Font | |
|---|---|
| font-family | |
| font-size | |
| font-style | |
| font-variant | |
| font-weight | |
| letter-spacing | |
| line-height | |
| text-decoration | |
| text-align | |
| text-indent | |
| text-transform | |
| white-space | |
| word-spacing | |
| color | |
| Background | |
| bg-attachment | |
| bg-color | |
| bg-image | |
| bg-position | |
| bg-repeat | |
| Box | |
| width | |
| height | |
| border-top | |
| border-right | |
| border-bottom | |
| border-left | |
| margin | |
| padding | |
| max-height | |
| min-height | |
| max-width | |
| min-width | |
| outline-color | |
| outline-style | |
| outline-width | |
| Positioning | |
| position | |
| top | |
| bottom | |
| right | |
| left | |
| float | |
| display | |
| clear | |
| z-index | |
| List | |
| list-style-image | |
| list-style-type | |
| list-style-position | |
| Table | |
| vertical-align | |
| border-collapse | |
| border-spacing | |
| caption-side | |
| empty-cells | |
| table-layout | |
| Effects | |
| text-shadow | |
| -webkit-box-shadow | |
| border-radius | |
| Other | |
| overflow | |
| cursor | |
| visibility |
