Multiple choice technology programming languages

A constant value in Java is created by using a literal representation of it.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java literals are source code representations of fixed values. For example, 100 is an integer literal, 3.14 is a floating-point literal, and 'x' is a char literal. These literal representations directly create constant values in the code without needing variables.