java中的关键字

Java关键字:

java语言中预先定义的、具有特别意义的标识符,全部小写

java中的关键字共有50个,其中:

包括:两个保留字 goto, const

不包括:null, true, flase

main只是一个普通的标识符,不是关键字

 

abstract

continue

for

new

switch

assert***

default

goto*

package

synchronized

boolean

do

if

private

this

break

double

implements

protected

throw

byte

else

import

public

throws

case

enum****

instanceof

return

transient

catch

extends

int

short

try

char

final

interface

static

void

class

finally

long

strictfp**

volatile

const*

float

native

super

while

如下链接中有大牛人的对关键字详解的博客:

官方文档:http://docs.oracle.com/javase/tutorial/java/nutsandbolts/_keywords.html

博客:http://www.cnblogs.com/o-andy-o/archive/2012/04/06/2435245.html

posted @ 2017-11-30 22:52  后山前堂客  阅读(289)  评论(0)    收藏  举报