Java Programming

Difference between a keyword and an identifier?

345

Answer

User Avatar
Wiki User
08/19/2010

Keywords are reserved words like(static,public......) which has a special meaning for compilers.

Identifier can be name of any variable or any name used to identify an object or entity .hence keywords cannot be used as an identifier