暮爱深秋 的笔记

人如果没有梦想,那跟咸鱼有什么区别呢?

2019-07-18 22:19

Java中关键字有哪些

暮爱深秋

JavaEE

(1291)

(0)

收藏

Java中的关键字有哪些?

答:1)48个关键字:abstract、assert、boolean、break、byte、case、catch、char、class、continue、default、do、double、else、enum、extends、final、finally、float、for、if、implements、import、int、interface、instanceof、long、native、new、package、private、protected、public、return、short、static、strictfp、super、switch、synchronized、this、throw、throws、transient、try、void、volatile、while。

2)2个保留字(现在没用以后可能用到作为关键字):goto、const。

3)3个特殊直接量:true、false、null。 


0条评论

点击登录参与评论