Core java quiz questions on identifiers

Number of View: 4825


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.


Java quiz questions on identifiers

Congratulations - you have completed Java quiz questions on identifiers. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.

Related posts:

  1. Core Java Interview Questions part 9
  2. Core Java Interview Questions Part 4
  3. core java interview questions part 5
  4. Core Java Interview Questions part 6

One comment on “Core java quiz questions on identifiers

  1. Pravin Jain on said:

    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 *


HTML tags are not allowed.