Programming |
A keyword is a word that has some special meaning for the Java compiler. The keywords are also called as reserved words in Java. These reserved words may not be used as constant, variable or any other identifier name, or else it will result in compile-time error. The programming language uses the keywords for some internal process or represents some predefined actions
Keywords List |
|||
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 |