Java——关键字和保留字

时间:2024-08-28 20:07:32

Java关键字50个

 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保留字14个

 byValue
cast
false
future
generic
inner
operator
outer
rest
true
var
goto
const
null