Computer Science, asked by anjana9554, 3 months ago

what is valid character literal​

Answers

Answered by ankitgupta82
0

Explanation:

A character literal is a type of literal in programming for the representation of a single

Answered by Anonymous
0

A valid character literal​:

  • The data objects that have fixed or constant values are known as literals. As a result, literals are also known as constants in Java.
  • Literals can represent numeric, character, boolean, or String values.
  • A single character must be encased within a single quote when composing a character literal.
  • A character literal must be represented using the char data type.
Similar questions