美文网首页
JAVA关键字

JAVA关键字

作者: ssttIsme | 来源:发表于2020-11-18 23:04 被阅读0次

    Java关键字是电脑语言里事先定义的,有特别意义的标识符,有时又叫保留字,还有特别意义的变量。Java的关键字对Java的编译器有特殊的意义,他们用来表示一种数据类型,或者表示程序的结构等,关键字不能用作变量名、方法名、类名、包名和参数。

    在Java中关键字都是小写的

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

    相关文章

      网友评论

          本文标题:JAVA关键字

          本文链接:https://www.haomeiwen.com/subject/ckvhiktx.html