예약어, 리터럴

apayaya·2022년 3월 13일
0

Java

목록 보기
1/1

예약어 (Reserved Keywords)

  • 변수명으로 사용불가능
  • static, class, char, while ...
  • native : a method is implemented in native code, such as C or C++
  • transient : a field should not be serialized
  • final : a variable, method, or class cannot be changed
  • abstract : indicate that a class is incomplete and cannot be instantiated on its own
  • strictfp : a method or class should follow strict floating-point semantics

Literal

  • 소스코드에 직접 입력된 값
  • true, false, null
  • "Hello World"(문자열 Literal)
profile
java 정리

0개의 댓글