일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 윈도우 #단축키
- css
- 코틀린#클래스#상속
- 연락처 프로그램
- 오라클
- 설치
- array
- kotlin #return #jump
- Event
- String
- jQuery
- spring
- springframework
- function
- 상속
- property
- html
- File 클래스
- GUI
- 다형성
- Java
- javaservlet
- 연산자
- 파일 입출력
- list
- JavaScript
- jsp
- 자바
- 데이터베이스
- Method
- Today
- Total
목록연산자 (2)
Binary World
*IfMain01 public class IfMain01 {public static void main(String[] args){System.out.println("if-else 문");int x = 100;if (x > 0){System.out.println("양수");} else {System.out.println("0보다 크지 않음");}System.out.println("첫번째 if-else 끝");System.out.println("==================");int y = 100;if(y > 0){System.out.println("양수입니다!");} else {System.out.println("0보다 크지 않습니다.");}} // end main()} // end class IfM..
* OperatorMain01(자바의 계산) public class OpMain01 { public static void main(String[] args) {System.out.println("[1] 대입 연산자(=)");// 변수 = 값;// 오른쪽의 값을 왼쪽의 변수에 저장하는 연산자int number = 123;System.out.println("number = " + number);System.out.println("===============");System.out.println("[2] 산술 연산자(+, -, *, /, %)");// (정수) / (정수) : 나눈 몫을 계산// (정수) % (정수) : 나눈 나머지르르 계산// (실수) / (실수), (실수) / (정수), (정수) / (실수..