기본 데이터
boolean, byte, char, shor, int, long, float, double, void
변수
transient, volatile
데이터값
true, false, null
흐름제어
if, else, switch, case, default, for, while, do, break, continue, return
접근제어
public, protected, private
메소드
synchronized, native
클래스
class, interface, extends, implements, static, abstract, final, new , instanceof, this, super
패키지
package, import
예외처리
try, catch, finally, throw, throws
사용되지 않는 키워드
const, goto
자바의 키워드와 C언어의 키워드를 혼동하지 않도록 확실히 익히도록 하자.
Byte, Short, Integer, Long, Float, Double 등을 기본 데이터 유형에 사용되는 키워드와 혼동하지 말자.
이것은 랩퍼 클래스(Wrapper Class)로서 기본 데이터 유형과 관련된 기능들을 묶어 놓은 클래스일 뿐 키워드는 아니다.
abstract 제한자 (0) | 2020.03.30 |
---|---|
접근 제한자 (0) | 2020.03.29 |
식별자(Identifier) (0) | 2020.03.29 |
변수 및 기본 데이터 유형 (0) | 2020.03.29 |
자바(JAVA)란 무엇인가? (0) | 2020.03.29 |