Character literals are enclosed in ________; string literals are enclosed in ________. Group of answer choices double quotes; double quotes double quotes; single quotes single quotes; double quotes single quotes; single quotes

Respuesta :

Lanuel

Answer:

Single quotes; Double quotes

Explanation:

Character literals is a type of literal in Java programming used for denoting constant valued character. Examples are 'g', '6', 'A' '+' etc.

String literals is a type of literal in Java programming used for representing or displaying of a sequence of characters or string values. Examples are "Hello Brainly user"

In Java programming, Character literals are enclosed in single quotes, string literals are enclosed in double quotes.

Answer:

C) Single quotes, double quotes

Explanation:

Single Quotes are used when you have non-narrative (I guess you could say) text

Double Quotes are used for printable/narrative text

(Hope this helps you out!)