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元素名称的。标识符的命名规则如下:
- 由字母、数字、下划线和美元符号组成。
- 不能以数字开头。
- 不能使用Java中的关键字。
- 标识符是大小写敏感的。
常见的标识符有:变量名、方法名、类名、接口名、包名等。