Which Of The Following Is Not A Valid Identifier In Java?

Select one:

  • a.p
  • b.Public
  • c.public
  • d.public23
  • e.PuBlIc_tWeNtY_3

The correct answer is c. public."public" is a reserved word in Java and cannot be used as an identifier.

Related Posts

0 Comments

12345

    00