Which of the following are valid identifiers?
$12Abc
A12b#
public
[ _ab123
Answers
Answered by
14
The answer is $12Abc as it is the best Java valid identifier.
Explanation:
- The reason behind the answer is that it has a dollar sign.
- It indicated the Unicode of the currency.
- There are a lot of other best identifiers but out of them the given above its best one.
- There can be the following possibilities for the best one as if they start with the alphabet or with the period.
Learn more about it.
What are identifiers and what is their importance in java programming
https://brainly.in/question/4601675
Answered by
16
Answer:
Answer is $12Abc
Explanation:
It is the only correct option
Similar questions