Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Kotlin
- BufferedReader
- 백준
- android studio
- BufferedWriter
- 별찍기
- 앱개발
- string
- 코딩테스트
- CLASS
- Return
- array
- For
- Android
- 프로그래머스
- 반복문
- for문
- IF
- flutter
- 코틀린
- While
- Scanner
- 안드로이드
- dataclass
- error
- androidstudio
- App
- dart
- Java
- 다트
Archives
- Today
- Total
목록기본문법 (1)
amid.jungs
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/mm7ef/btqVde3LqvB/D2Rx2gC4NBfS1hW4iIEyc1/img.png)
🌱 자바의 자료형 I.기본 자료형 정수 : int(기본),long, short,byte 실수 : double, float 논리형 : boolean ex.System.out.println(x + 20); -> 40 변수는 선언하면 계속 값이 바뀜 : 안바뀌게 고정시키려면 final을 사용 II. 형변환 double > float 큰 double -> 작은 float 는 별도의 형변환 필요 x , 그냥 쓰면됨 ex.dd= ff; 작은 flost -> 큰 double 는 별도의 형변환 필요 o ex. ff=(float) dd; III.문자열 문자: char (' '로 묶어준다) 문자열 : String
Java 기본
2021. 1. 30. 14:13