Core java quiz questions on identifiers

Identifiers:

1) An identifier must start with letter, underscore or $.

2) An identifier cannot start with number.

3) An identifier cannot be a reserved keyword in java.

4) we can start an identifier with number after first character.

5) Identifiers in java are case sensitive.

 

[mtouchquiz 1]

One thought on “Core java quiz questions on identifiers

  1. Please note that a java identifier can contain letters, digits, separator symbols and currency symbols.
    The point is that _ (underscore) is not the only separator symbol and
    $(dollar) is not the only currency symbol.

Leave a Reply

Your email address will not be published. Required fields are marked *