Java 关键字

发布: (2025年12月13日 GMT+8 14:10)
1 min read
原文: Dev.to

Source: Dev.to

Java 关键字

  • abstract
  • assert
  • boolean
  • break
  • byte
  • case
  • catch
  • char
  • class
  • const*
  • continue
  • default
  • do
  • double
  • else
  • enum
  • extends
  • final
  • finally
  • float
  • for
  • goto*
  • if
  • implements
  • import
  • instanceof
  • int
  • interface
  • long
  • native
  • new
  • package
  • private
  • protected
  • public
  • return
  • short
  • static
  • strictfp
  • super
  • switch
  • synchronized
  • this
  • throw
  • throws
  • transient
  • try
  • void
  • volatile
  • while

Java 字面量(不是关键字,但很重要)

  • true
  • false
  • null
Back to Blog

相关文章

阅读更多 »

Java 变量

Java 中的变量是一个具名的内存位置,用于存储在程序执行期间可能会改变的数据。它可以被视为:Variable = name + memory + v...