MCQ Single Best Answer Easy

QWhat is the purpose of a separator token in Java?

ID: #20118 Tokens in Java 100 views
Question Info
#20118Q ID
EasyDifficulty
Tokens in JavaTopic

Choose the Best Option

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

  • A To define a method
  • B To separate statements and elements in a program
  • C To perform logical operations
  • D To represent a variable
Correct Answer: Option B

Explanation

Separators in Java are tokens used to delimit and separate statements, declarations, and other program elements.

Share This Question

Challenge a friend or share with your study group.