美文网首页
Java关键字

Java关键字

作者: 苏黎世的旅途 | 来源:发表于2016-03-25 08:23 被阅读22次

关键字列表:

abstract boolean break byte case catch char class continue default do double else extends enum(枚举) false final finally float for if implements import instanceof int interface long native new null package private protected public return short static super switch synchronized(线程同步) this throw throws transient true try void volatile(共享) while
Java 中 true false 不是关键字,而是boolean类型的字面量
保留字:const,goto
所有的关键字都是小写,friendly,sizeof不是java的关键字

相关文章

网友评论

      本文标题:Java关键字

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