05-18 01:37
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- systemd
- Entity Set
- Reference Type
- dbms
- python
- spring
- 자바
- Binary Search
- Operator
- BFS
- Unity
- Java
- Physical Scheme
- Inheritance
- 리눅스 마스터 1급
- OOP
- Mac
- preprocessing
- Entity
- X윈도우
- 리눅스
- Class
- 백준
- X.org
- descriptive statistics
- selenium
- 셀레니움
- External Scheme
- literal
- Polymolphism
Archives
- Today
- Total
목록for 변형 (1)
Byeol Lo
Computer Language - Condition & Loop
보통 프로그램들은 일련의 순서로 처리가 된다. 이를 Sequential flow라고 하는데, 우리는 어떤 조건에 따라 이 순차 처리를 경우를 나눠 처리하고 싶을 때가 있다. Condition 조건문 보통 Relational Operators(==, =, ), Conditional Operators(||, &&, !) 등을 사용해서 조건문 표현을 하게된다. IF Statements : 다양한 변수에 대한 조건을 처리하고 싶을때 사용 Switch Statements : 하나의 변수에 대한 다양한 값에 따라 조건을 달리 하고 싶을때 사용 if((n = 2) == 3) { // 값 할당과 동시에 조건문 비교 System.out.println("hihi"); } int n = 10; switch(n) { case..
Programming Language/Java
2023. 4. 30. 21:10