answersLogoWhite

0

Here's a list of keywords in the Java programming language. You cannot use any of the following as identifiers in your programs. The keywords const and goto are reserved, even though they are not currently used. true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs.

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

* not used

** added in 1.2

*** added in 1.4

**** added in 5.0

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ReneRene
Change my mind. I dare you.
Chat with Rene

Add your answer:

Earn +20 pts
Q: What are the keywords in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp