일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- mysql
- system
- javascript
- XML
- DS
- web
- data structure
- MacOS
- Linux
- CSS
- control
- computer
- while
- function
- Class
- github
- DB
- Java
- Algorithm
- MIPS
- instruction
- architecture
- react
- Pipelining
- DoM
- html
- DATAPATH
- python
- php
- for
- Today
- Total
목록type (6)
YYYEJI
코드를 살펴보면서 시작하도록 하겠습니다. 아래 코드의 결과가 왜 똑같이 나오는지 하나하나 살펴봅시다! public static void main(String[] args) { p person_info_1 = new p(); p person_info_2 = new p(); person_info_1.set("Jenie", 26); person_info_2.set("Jiso", 27); person_info_2 = person_info_1; person_info_2.set("Rosie", 25); System.out.println(" "); person_info_2.writeOutput(); System.out.println("\n"); person..
PHP에서 변수의 type은 var_dump() 함수를 사용합니다. My first PHP page ◡̈
① Integer • . . . -2, -1, 0, 1, 2, . . . etc. • byte (1 bytes) • short (2 bytes) • int (4 bytes) • long (8 bytes) ② Floating point • 9.99, 3.15913494, -5.0 etc. • float (4 bytes) • double (8 bytes) ③ Character • 'Hello world' etc. • char (2 bytes) • Using single quotes • System.out.println('Hello World'); ④ Boolean • True (1 bit) • False (1 bit) ◡̈
Attribute(속성) 이란 ? Element(요소)에 대한 추가적인 정보를 제공합니다. 따라서 속성 타입은 해당 element(요소)의 특징을 말한다고 볼 수 있습니다. Attribute type Attibute type Explanation CDATA 문자 데이터(character data) (Attribute value 1|Attribute value 2 . . | ..) 나열된 리스트 중 하나에 해당 ID 하나뿐인 아이디(id) IDREF 다른 요소의 아이디(id) IDREFS 다른 아이디(id)의 리스트 NMTOKEN 유효한(valid) XML 이름 NMTOKENS 유효한(valid) XML 이름의 리스트 ENTITY 엔티티(entity) ENTITIES 엔티티(entity)의 리스트 NOTA..
형 변환(Type Conversion)이란 ? 데이터의 타입을 변경하는 것을 말합니다. 명시적 형변환(Explicit Type Conversion) 더 작은 크기의 타입을 집어 넣는 경우, 명시적으로 타입을 지정해줘야 되는 것을 말합니다. float_number = 10.0 integer_number = int(float_number) 묵시적 형변환(Implicit Type Conversion) 더 큰 크기의 타입에 집어넣는 경우, 자동으로 더 큰 타입으로 형변환되는 것을 말합니다. integer_number = 10 float_number = integer_number ◡̈
데이터 타입(Data Type)이란 ? 변수를 선언할 때, 숫자나 문자열 또는 이 외의 것들을 변수에 저장하는 데이터의 종류를 말합니다. 데이터 타입(Data Type)의 종류 Numeric Types: integer(정수), float(실수) Sequence: string(문자열), list(리스트), tuple(튜플) Mapping Type: dictionary(딕셔너리) Set Type: set(집합) Boolean Type: boolean(불리안) Binary Types: bytes, bytearray, memoryview Integer(정수형) 숫자형의 하나로 소수점이 없는 정수입니다. number = 10 Float(소수형) 숫자형의 하나로 소수점이 있는 실수입니다. number = 10.0 ..