COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Identify the token from the given options.
A
if
B
>=
C
identifier
D
white space
Explanation: 

Detailed explanation-1: -Tokens in java include identifiers, keywords, literals, operators and, separators.

Detailed explanation-2: -A token can be an identifier, a reserved keyword, a literal, or an operator or punctuation symbol. Each kind of token is described later in this section.

Detailed explanation-3: -Keywords. Identifiers. Literals. Operators. Separators. Comments.

There is 1 question to complete.