Keywords in Java
-
Keywords are the special reserved words whose meaning has already been explained to the Java compiler.
-
Compiler uses them to figure out what your source code is trying to do.
-
Keywords cannot be used as identifiers (names) class,methods or variables.
Java Language Keywords :
Here is a list of keywords in the Java programming language.
abstract | continue | for | new | switch |
assert | default | goto | package | synchronized |
boolean | do | if | private | this |
break | double | implements | protected | throw |
byte | else | import | public | throws |
case | enum | intanceof | return | transient |
catch | extends | int | short | try |
char | final | interface | static | void |
class | finally | long | strictfp | volatile |
const | float | native | super | while |
Reserved Keywords Currently Not in Use:
1 .const 2 .goto
Keywords Added in version 1.2
strictfp
Keywords Added in version 1.4
assert
Keywords Added in version 1.5
enum
Next topic is Variables in Java
Training For College Campus
We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies
like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.
Please mail your requirement at info@prowessapps.in
Projects For Students
Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.
Students can mail requirement at info@prowessapps.in