일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- #bubbleSort
- #2차원배열
- #3차원배열
- html youtube
- html object
- #android activity
- #JAVASCRIPT
- html code
- relative path
- html multimedia
- hyperledger transaction
- #성적관리프로그램
- html charset
- 토큰경제
- #1차원배열
- html5 new tag
- git flow
- #binary
- #다차원포인터
- 하이퍼레저패브릭
- #C++ has~a
- html plug-in
- #C++ 연산자함수오버로딩
- #CallByAddress
- mac terminal command
- html id
- border-box
- html video
- #자바상속#자바이즈어#is~a
- docker example
- Today
- Total
A sentimental robot
Basic info before starting programming 본문
<Operators>
% gives the remainder of division.
The result of 20%3 is 2.
It is the most frequently used operator. There is a rule using it.
If you divide 20 by 3, the range of th remainder that you get by % is from 0~2.
<Bit and Memory>
Computer state is 0 or 1, which is called bit state.
28=256 , which 2 means 0 or 1.
8bit = 1byte
32bit = 4byte
64bit = 8byte
<Variable naming convention>
- The first letter of the variable must be character, cannot start with numbers and cannot contain special characters. (essential)
ex) int 1num (x) , int speed# (x)
- Exceptional possible special characters : $ , _ (essential)
ex) int _num (o)
- Combination of two words : firstName (conventional)
<ASCII code>
American Standartd Code Information Interchange code
'A'(character type) : 65 (integer type)
'B' : 66
..............
'a' : 97
'b' : 98
'Java' 카테고리의 다른 글
배열[array] (0) | 2017.12.28 |
---|---|
자바언어는 무엇으로 이루어져 있을까? (0) | 2017.12.28 |
자바언어에 대해서 (0) | 2017.12.28 |
eclipse use (0) | 2017.12.26 |
JDK install/자바 개발 환경 구축 (0) | 2017.12.26 |