Computer Science, asked by khemchandmahour021, 8 months ago

Which of the following is not a valid token in Java?

a) Identifier

b) Punctuators

c) Keyword

d) Example​

Answers

Answered by abcd4494
2

Explanation:

Example

Hope it helps you..

Answered by brainlysme6
1

Answer:

(d) Example​ is not a valid token in Java out of the all options given here.

Explanation:

Since, as we know that smallest individual units of a program is also known as token. In Java there are 6 tokens for our use.

Java token includes the following which are:

  • Keywords
  • Identifiers
  • Literals
  • Operators
  • Separators (Punctuators)
  • Comments

Thus, here Identifier, Punctuators and Keyword are valid tokens in Java. So, option (d) Example is the right option here.

Similar questions