"자바 키워드"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 18개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;Java keywords, reserved words
;Java keywords
;자바 키워드, 자바 예약어
;자바 키워드
*키워드 50개 + 상수 3개
*자바 예약어
*const와 goto는 지원안함<ref>금지어로서의 의미만 있음</ref>
*식별자로 사용불가
*식별자로 사용불가
:[[클래스]], [[메소드]], [[변수]] 이름으로 사용할 수 없음
:[[클래스]], [[메소드]], [[변수]] 이름으로 사용할 수 없음


;예시
==키워드==
[[File:Java keywords highlighted.png|frame|left|굵은 파란색 단어가 키워드임]]
{{z컬럼3|
{{clear}}
;자료형
* [[boolean]]
* [[byte]]
* [[char]]
* [[double]]
* [[float]]
* [[int]]
* [[long]]
* [[short]]
* [[void]]


==키워드 50==
;반복문/제어문
*[[Abstract class|'''abstract''']]
* [[break]]
*[[Assertion (computing)|assert]]
* [[case]]
*[[Boolean datatype|boolean]]
* [[default]]
*[[Switch statement|break]]
* [[continue]]
*[[byte]]
* [[do]]
*[[Switch statement|case]]
* [[else]]
*[[Exception handling syntax#Java|catch]]
* [[finally]]
*[[Character (computing)|char]]
* [[for]]
*[[Class (computer science)#Java|class]]
* [[goto]]
*[[Constant (programming)|const]]
* [[if]]
*[[continue (Java)|continue]]
* [[switch]]
*[[Switch statement|default]]
* [[while]]
*[[do while loop|do]]
 
*[[Double precision|double]]
;기타
*[[Conditional (programming)|else]]
* [[abstract]]
*[[Enumerated type|enum]]
* [[assert]]
*[[Inheritance (object-oriented programming)|extends]]
* [[catch]]
*[[final (Java)|final]]
* [[class]]
*[[Exception handling syntax#Java|finally]]
* [[const]]
*[[single precision|float]]
* [[enum]]
*[[for loop|for]]
* [[extends]]
*[[GOTO|goto]]
* [[자바 final|final]]
*[[if statement|if]]
* [[인터페이스 (객체지향)|interface]]
*[[Integer (computer science)|int]]
* [[implements]]
*[[Interface (Java)|interface]]
* [[new]]
*[[long integer|long]]
* [[package]]
*[[Object lifetime#Java|new]]
* [[private]]
*[[Java package|package]]
* [[protected]]
*[[b:Java Programming/Classes, Objects and Types|private]]
* [[public]]
*[[b:Java Programming/Classes, Objects and Types|protected]]
* [[return]]
*[[b:Java Programming/Classes, Objects and Types|public]]
* [[static]]
*[[Method (computer science)|return]]
* [[strictfp]]
*[[short integer|short]]
* [[super]]
*[[Static variable|static]]
* [[synchronized]]
*[[strictfp]]
* [[this]]
*[[Inheritance (object-oriented programming)|super]]
* [[throw]]
*[[Switch statement|switch]]
* [[throws]]
*[[Mutual exclusion|synchronized]]
* [[transient]]
*[[this (Java)|this]]
* [[try]]
*[[Exception handling syntax#Java|throw]]
* [[volatile]]
*[[Exception handling syntax#Java|throws]]
}}
*[[transient (computer programming)|transient]]
*[[Exception handling syntax#Java|try]]
*[[void return type|void]]
*[[Volatile variable|volatile]]
*[[do while loop|while]]


==상수 3==
==상수 3==
63번째 줄: 68번째 줄:
*null
*null


==참고 자료==
==같이 보기==
*[[자바 annotation]]
*[[자바 자료형]]
*[[C샵 키워드]]
 
==참고==
*http://en.wikipedia.org/wiki/List_of_Java_keywords
*http://en.wikipedia.org/wiki/List_of_Java_keywords


[[분류: java]]
[[분류: java]]

2022년 4월 29일 (금) 13:00 기준 최신판

1 개요[ | ]

Java keywords
자바 키워드
  • 자바 예약어
  • const와 goto는 지원안함[1]
  • 식별자로 사용불가
클래스, 메소드, 변수 이름으로 사용할 수 없음

2 키워드[ | ]

3 상수 3[ | ]

  • true
  • false
  • null

4 같이 보기[ | ]

5 참고[ | ]

  1. 금지어로서의 의미만 있음
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}