Overview of Java Language Tokens in Java Question #20117
Single Choice Easy

QWhich token is used to represent a single character in Java?

ID: #20117 Tokens in Java 102 views
Question Info
#20117Q ID
EasyDifficulty
Tokens in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A String Literal
  • B Boolean Literal
  • C Character Literal
  • D Numeric Literal
Correct Answer

Explanation

In Java, a character literal is a token used to represent a single character. It is enclosed within single quotes (e.g., 'A').

Share This Question

Challenge a friend or share with your study group.